90406a3d49
Rather than hard-coding the example app to be built only when a set of conditions are met, we can simplify things by having the app built when KNI library itself is available. That saves us duplicating the same set of restrictions on both library and example app. Fixes: 89f0711f9ddf ("examples: build some samples with meson") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
15 lines
418 B
Meson
15 lines
418 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 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'
|
|
|
|
# this app can be built if-and-only-if KNI library is buildable
|
|
build = dpdk_conf.has('RTE_LIBRTE_KNI')
|
|
deps += ['kni', 'bus_pci']
|
|
sources = files(
|
|
'main.c'
|
|
)
|