New upstream version 18.11-rc1
[deb_dpdk.git] / drivers / net / thunderx / base / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3
4 sources = [
5         'nicvf_hw.c',
6         'nicvf_mbox.c',
7         'nicvf_bsvf.c'
8 ]
9
10 c_args = cflags
11 if allow_experimental_apis
12         c_args += '-DALLOW_EXPERIMENTAL_API'
13 endif
14 base_lib = static_library('nicvf_base', sources,
15         c_args: c_args,
16         dependencies: static_rte_ethdev
17 )
18
19 base_objs = base_lib.extract_all_objects()