]> git.droids-corp.org - dpdk.git/blobdiff - examples/ethtool/meson.build
app/testpmd: fix GTP PSC extension header length
[dpdk.git] / examples / ethtool / meson.build
index c370d7476f130344ad401550a14c8188f16aa68f..d7f63d48afe27cff969a85dfdfa285e5df1a3e79 100644 (file)
@@ -6,5 +6,21 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-# Example app currently unsupported by meson build
-build = false
+build = is_linux
+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_NET_IXGBE')
+    deps += 'net_ixgbe'
+endif
+
+allow_experimental_apis = true