X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvm_power_manager%2Fmeson.build;h=637bd2323581fc9babf72159f82bdc07ccf31ed7;hb=6a2cf58a045f58c9744194f4d44394c7af1a0027;hp=54e2b584f666b9a0647f8c1bb25cc9ff3087d0ca;hpb=78d44153de8f7041ff35cb2c676fac8b9488f753;p=dpdk.git diff --git a/examples/vm_power_manager/meson.build b/examples/vm_power_manager/meson.build index 54e2b584f6..637bd23235 100644 --- a/examples/vm_power_manager/meson.build +++ b/examples/vm_power_manager/meson.build @@ -6,23 +6,23 @@ # 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 @@ -41,7 +41,7 @@ opt_dep = cc.find_library('virt', required : false) 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'