git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd0fa2
)
examples/ip_pipeline: disable build when no epoll
author
Bruce Richardson
<bruce.richardson@intel.com>
Mon, 25 Feb 2019 15:23:03 +0000
(15:23 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 26 Feb 2019 15:22:49 +0000
(16:22 +0100)
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>
examples/ip_pipeline/meson.build
patch
|
blob
|
history
diff --git
a/examples/ip_pipeline/meson.build
b/examples/ip_pipeline/meson.build
index
5e5fe64
..
664223c
100644
(file)
--- 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(