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
net/ice/base: store NVM version in extracted format
[dpdk.git]
/
examples
/
vm_power_manager
/
guest_cli
/
meson.build
diff --git
a/examples/vm_power_manager/guest_cli/meson.build
b/examples/vm_power_manager/guest_cli/meson.build
index
9e821ce
..
8c72542
100644
(file)
--- a/
examples/vm_power_manager/guest_cli/meson.build
+++ b/
examples/vm_power_manager/guest_cli/meson.build
@@
-6,9
+6,10
@@
# 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'
-# Setting the name here because the default name will conflict with the
-# vm_power_manager app because of the way the directories are parsed.
-name = 'guest_cli'
+if not dpdk_conf.has('RTE_LIBRTE_POWER')
+ build = false
+ subdir_done()
+endif
deps += ['power']
deps += ['power']
@@
-16,6
+17,8
@@
sources = files(
'main.c', 'parse.c', 'vm_power_cli_guest.c'
)
'main.c', 'parse.c', 'vm_power_cli_guest.c'
)
+allow_experimental_apis = true
+
opt_dep = cc.find_library('virt', required : false)
build = opt_dep.found()
ext_deps += opt_dep
opt_dep = cc.find_library('virt', required : false)
build = opt_dep.found()
ext_deps += opt_dep