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
app/flow-perf: support meter action
[dpdk.git]
/
examples
/
vm_power_manager
/
meson.build
diff --git
a/examples/vm_power_manager/meson.build
b/examples/vm_power_manager/meson.build
index
20a4a05
..
637bd23
100644
(file)
--- a/
examples/vm_power_manager/meson.build
+++ b/
examples/vm_power_manager/meson.build
@@
-6,25
+6,26
@@
# 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 not dpdk_conf.has('RTE_LIB
RTE
_POWER')
+if not dpdk_conf.has('RTE_LIB_POWER')
build = false
subdir_done()
endif
deps += ['power']
build = false
subdir_done()
endif
deps += ['power']
-if dpdk_conf.has('RTE_
LIBRTE_BNXT_PMD
')
- deps += ['
pmd
_bnxt']
+if dpdk_conf.has('RTE_
NET_BNXT
')
+ deps += ['
net
_bnxt']
endif
endif
-if dpdk_conf.has('RTE_
LIBRTE_I40E_PMD
')
- deps += ['
pmd
_i40e']
+if dpdk_conf.has('RTE_
NET_I40E
')
+ deps += ['
net
_i40e']
endif
endif
-if dpdk_conf.has('RTE_
LIBRTE_IXGBE_PMD
')
- deps += ['
pmd
_ixgbe']
+if dpdk_conf.has('RTE_
NET_IXGBE
')
+ deps += ['
net
_ixgbe']
endif
endif
+allow_experimental_apis = true
sources = files(
'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c'
)
sources = files(
'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c'
)
@@
-40,7
+41,7
@@
opt_dep = cc.find_library('virt', required : false)
build = opt_dep.found()
ext_deps += opt_dep
build = opt_dep.found()
ext_deps += opt_dep
-opt_dep = dependency('jansson', required : false)
+opt_dep = dependency('jansson', required : false
, method: 'pkg-config'
)
if opt_dep.found()
ext_deps += opt_dep
cflags += '-DUSE_JANSSON'
if opt_dep.found()
ext_deps += opt_dep
cflags += '-DUSE_JANSSON'