]> git.droids-corp.org - dpdk.git/blobdiff - examples/ntb/meson.build
telemetry: fix missing header include
[dpdk.git] / examples / ntb / meson.build
index 9a6288f4f1d7ddc2b173d15d26c84710bad4517a..02be9fc80dcb36da514beb4b05356398da10fae7 100644 (file)
@@ -6,11 +6,17 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
-if host_machine.system() != 'linux'
+allow_experimental_apis = true
+if not is_linux
        build = false
+       subdir_done()
 endif
+
 deps += 'rawdev'
 cflags += ['-D_FILE_OFFSET_BITS=64']
 sources = files(
        'ntb_fwd.c'
 )
+if dpdk_conf.has('RTE_RAW_NTB')
+       deps += 'raw_ntb'
+endif