summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-02-25 15:23:03 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-02-26 16:22:49 +0100
commit0c56257a61ec272926c2560b60d078ba266f8564 (patch)
treee72ff0b55c34c7edc5622dc624c2b442bdfe6c87 /examples
parent1fd0fa258b3eacf94b3c30c8ceb42c317572cd05 (diff)
downloaddpdk-next-eventdev-0c56257a61ec272926c2560b60d078ba266f8564.zip
dpdk-next-eventdev-0c56257a61ec272926c2560b60d078ba266f8564.tar.gz
dpdk-next-eventdev-0c56257a61ec272926c2560b60d078ba266f8564.tar.xz
examples/ip_pipeline: disable build when no epoll
The ip_pipeline example requires the epoll.h header from linux, so disable building the example if the header cannot be found. Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ip_pipeline/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ip_pipeline/meson.build b/examples/ip_pipeline/meson.build
index 5e5fe64..664223c 100644
--- a/examples/ip_pipeline/meson.build
+++ b/examples/ip_pipeline/meson.build
@@ -6,6 +6,7 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+build = cc.has_header('sys/epoll.h')
deps += ['pipeline', 'bus_pci']
allow_experimental_apis = true
sources = files(