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'
|
|
|
|
|
2021-02-05 08:48:47 +00:00
|
|
|
allow_experimental_apis = true
|
|
|
|
if not is_linux
|
2019-06-25 11:12:58 +00:00
|
|
|
build = false
|
2021-02-05 08:48:47 +00:00
|
|
|
subdir_done()
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
2021-02-05 08:48:47 +00:00
|
|
|
|
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
|
|
|
)
|
2021-02-05 08:48:47 +00:00
|
|
|
if dpdk_conf.has('RTE_RAW_NTB')
|
|
|
|
deps += 'raw_ntb'
|
2020-06-18 16:55:50 +00:00
|
|
|
endif
|