4f299b7169
Some places were calling the meson function host_machine.system() instead of the variables is_windows and is_linux defined in config/meson.build. At the same time, the missing "Linux restriction" reason is added to pfe and octeontx2 crypto PMDs. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
21 lines
486 B
Meson
21 lines
486 B
Meson
# 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'
|
|
|
|
allow_experimental_apis = true
|
|
if not is_linux
|
|
build = false
|
|
endif
|
|
deps += 'rawdev'
|
|
cflags += ['-D_FILE_OFFSET_BITS=64']
|
|
sources = files(
|
|
'ntb_fwd.c'
|
|
)
|
|
if dpdk_conf.has('RTE_LIBRTE_PMD_NTB_RAWDEV')
|
|
deps += 'rawdev_ntb'
|
|
endif
|