git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/load_balancer: remove example
[dpdk.git]
/
examples
/
l3fwd-power
/
meson.build
diff --git
a/examples/l3fwd-power/meson.build
b/examples/l3fwd-power/meson.build
index
a3c5c2f
..
d5a3d4b
100644
(file)
--- a/
examples/l3fwd-power/meson.build
+++ b/
examples/l3fwd-power/meson.build
@@
-6,11
+6,13
@@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
-if host_machine.system() != 'linux'
- build = false
+if not dpdk_conf.has('RTE_LIBRTE_POWER')
+ build = false
+ subdir_done()
endif
endif
+
allow_experimental_apis = true
allow_experimental_apis = true
-deps += ['power', 'timer', 'lpm', 'hash']
+deps += ['power', 'timer', 'lpm', 'hash'
, 'metrics'
]
sources = files(
'main.c', 'perf_core.c'
)
sources = files(
'main.c', 'perf_core.c'
)