]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/drivers/net/octeontx/base/meson.build
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / drivers / net / octeontx / base / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3
4 sources = [
5 'octeontx_pkovf.c',
6 'octeontx_pkivf.c',
7 'octeontx_bgx.c'
8 ]
9
10 depends = ['ethdev', 'mempool_octeontx']
11 static_objs = []
12 foreach d: depends
13 static_objs += [get_variable('static_rte_' + d)]
14 endforeach
15
16 c_args = cflags
17 if allow_experimental_apis
18 c_args += '-DALLOW_EXPERIMENTAL_API'
19 endif
20 base_lib = static_library('octeontx_base', sources,
21 c_args: c_args,
22 dependencies: static_objs,
23 )
24
25 base_objs = base_lib.extract_all_objects()