common/cnxk: add workaround for vWQE flush
[dpdk.git] / examples / ethtool / meson.build
index fdfdd19..d7f63d4 100644 (file)
@@ -7,14 +7,20 @@
 # DPDK instance, use 'make'
 
 build = is_linux
-sources = files('lib/rte_ethtool.c',
-       'ethtool-app/ethapp.c',
-       'ethtool-app/main.c')
+if not build
+    subdir_done()
+endif
+
+sources = files(
+        'lib/rte_ethtool.c',
+        'ethtool-app/ethapp.c',
+        'ethtool-app/main.c',
+)
 includes = include_directories('lib', 'ethtool-app')
 
 deps += 'bus_pci'
-if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
-       deps += 'net_ixgbe'
+if dpdk_conf.has('RTE_NET_IXGBE')
+    deps += 'net_ixgbe'
 endif
 
 allow_experimental_apis = true