vdpa/ifc: set notify and vring relay thread names
[dpdk.git] / examples / ntb / meson.build
index 9a6288f..37899df 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'
-       build = false
+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'
+        'ntb_fwd.c',
 )
+if dpdk_conf.has('RTE_RAW_NTB')
+    deps += 'raw_ntb'
+endif