]> git.droids-corp.org - dpdk.git/blobdiff - examples/kni/meson.build
mempool: fix slow allocation of large mempools
[dpdk.git] / examples / kni / meson.build
index 0443ab99b9ed4b89a4aae5ee5662ee39372ce605..fd6ae4442ad13bbe8f0929848fc07cd8c9afc6d5 100644 (file)
@@ -6,10 +6,10 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-if host_machine.system() != 'linux'
-       build = false
-endif
+# this app can be built if-and-only-if KNI library is buildable
+build = dpdk_conf.has('RTE_LIBRTE_KNI')
 deps += ['kni', 'bus_pci']
 sources = files(
        'main.c'
 )
+allow_experimental_apis = true