f-stack/dpdk/examples/ntb/meson.build

20 lines
475 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
2020-06-18 16:55:50 +00:00
# Copyright(c) 2019 Intel Corporation
2019-06-25 11:12:58 +00:00
# meson file, for building this example as part of a main DPDK build.
#
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
if host_machine.system() != 'linux'
build = false
endif
2020-06-18 16:55:50 +00:00
deps += 'rawdev'
cflags += ['-D_FILE_OFFSET_BITS=64']
2019-06-25 11:12:58 +00:00
sources = files(
2020-06-18 16:55:50 +00:00
'ntb_fwd.c'
2019-06-25 11:12:58 +00:00
)
2020-06-18 16:55:50 +00:00
if dpdk_conf.has('RTE_LIBRTE_PMD_NTB_RAWDEV')
deps += 'rawdev_ntb'
endif