pdump: replace constant for device name size
[dpdk.git] / examples / vm_power_manager / meson.build
index 20a4a05..1f813fb 100644 (file)
@@ -6,25 +6,26 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-if not dpdk_conf.has('RTE_LIBRTE_POWER')
+if not dpdk_conf.has('RTE_LIB_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
 
-if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
-       deps += ['pmd_i40e']
+if dpdk_conf.has('RTE_NET_I40E')
+       deps += ['net_i40e']
 endif
 
-if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
-       deps += ['pmd_ixgbe']
+if dpdk_conf.has('RTE_NET_IXGBE')
+       deps += ['net_ixgbe']
 endif
 
+allow_experimental_apis = true
 sources = files(
        'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c'
 )