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
common/sfc_efx/base: allow creating invalid mport selectors
[dpdk.git]
/
examples
/
l3fwd-power
/
meson.build
diff --git
a/examples/l3fwd-power/meson.build
b/examples/l3fwd-power/meson.build
index
f633a0f
..
0f69bb7
100644
(file)
--- a/
examples/l3fwd-power/meson.build
+++ b/
examples/l3fwd-power/meson.build
@@
-1,15
+1,19
@@
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 201
7
Intel Corporation
+# Copyright(c) 201
8
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'
# 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'
-if host_machine.system() != 'linux'
- build = false
+if not dpdk_conf.has('RTE_LIB_POWER')
+ build = false
+ subdir_done()
endif
endif
-deps += ['power', 'timer', 'lpm', 'hash']
+
+allow_experimental_apis = true
+deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
sources = files(
sources = files(
- 'main.c'
+ 'main.c',
+ 'perf_core.c',
)
)