f-stack/dpdk/drivers/net/thunderx/base/meson.build

20 lines
368 B
Meson
Raw Normal View History

2018-12-06 14:17:51 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
sources = [
'nicvf_hw.c',
'nicvf_mbox.c',
'nicvf_bsvf.c'
]
c_args = cflags
if allow_experimental_apis
c_args += '-DALLOW_EXPERIMENTAL_API'
endif
base_lib = static_library('nicvf_base', sources,
c_args: c_args,
dependencies: static_rte_ethdev
)
base_objs = base_lib.extract_all_objects()