net/ice: fix max entry number for ACL normal priority
[dpdk.git] / examples / vm_power_manager / meson.build
index 1f813fb..c15bad6 100644 (file)
@@ -7,42 +7,47 @@
 # DPDK instance, use 'make'
 
 if not dpdk_conf.has('RTE_LIB_POWER')
-       build = false
-       subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += ['power']
 
 if dpdk_conf.has('RTE_NET_BNXT')
-       deps += ['net_bnxt']
+    deps += ['net_bnxt']
 endif
 
 if dpdk_conf.has('RTE_NET_I40E')
-       deps += ['net_i40e']
+    deps += ['net_i40e']
 endif
 
 if dpdk_conf.has('RTE_NET_IXGBE')
-       deps += ['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'
+        'channel_manager.c',
+        'channel_monitor.c',
+        'main.c',
+        'parse.c',
+        'power_manager.c',
+        'vm_power_cli.c',
 )
 
 # If we're on X86, pull in the x86 code for the branch monitor algo.
 if dpdk_conf.has('RTE_ARCH_X86_64')
-       sources += files('oob_monitor_x86.c')
+    sources += files('oob_monitor_x86.c')
 else
-       sources += files('oob_monitor_nop.c')
+    sources += files('oob_monitor_nop.c')
 endif
 
 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'
+    ext_deps += opt_dep
+    cflags += '-DUSE_JANSSON'
 endif