The examples/bpf directory does not contain an example app, but rather example code for use with testpmd's BPF support. Therefore, we should not attempt to build it when the user requests "examples=all". This also synchronises the meson behaviour with make which similarly doesn't compile up the code.
Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> Acked-by: Luca Boccassi <bl...@debian.org> --- examples/bpf/meson.build | 6 ------ examples/meson.build | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 examples/bpf/meson.build diff --git a/examples/bpf/meson.build b/examples/bpf/meson.build deleted file mode 100644 index 0a817aaea..000000000 --- a/examples/bpf/meson.build +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2019 Intel Corporation - -# This contains BPF example code for use in testing BPF with testpmd, -# therefore it should not be built as part of a meson build. -build=false diff --git a/examples/meson.build b/examples/meson.build index a046b74ad..e40ab68da 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -11,7 +11,7 @@ execinfo = cc.find_library('execinfo', required: false) # list of all example apps. Keep 1-3 per line, in alphabetical order. all_examples = [ 'bbdev_app', 'bond', - 'bpf', 'cmdline', + 'cmdline', 'distributor', 'ethtool', 'eventdev_pipeline', 'exception_path', 'fips_validation', 'flow_classify', -- 2.21.0