2019-07-02 06:25:21 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
|
|
|
|
# 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
|
|
|
|
deps += 'rawdev'
|
|
|
|
cflags += ['-D_FILE_OFFSET_BITS=64']
|
|
|
|
sources = files(
|
|
|
|
'ntb_fwd.c'
|
|
|
|
)
|
2019-09-26 03:20:22 +00:00
|
|
|
if dpdk_conf.has('RTE_LIBRTE_PMD_NTB_RAWDEV')
|
|
|
|
deps += 'rawdev_ntb'
|
|
|
|
endif
|