net/enic: avoid error message when no advanced filtering
[dpdk.git] / examples / ntb / meson.build
index ab449d0..37899df 100644 (file)
@@ -7,14 +7,16 @@
 # DPDK instance, use 'make'
 
 allow_experimental_apis = true
-if host_machine.system() != 'linux'
-       build = false
+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_LIBRTE_PMD_NTB_RAWDEV')
-       deps += 'rawdev_ntb'
+if dpdk_conf.has('RTE_RAW_NTB')
+    deps += 'raw_ntb'
 endif