]> git.droids-corp.org - dpdk.git/commitdiff
examples: disable unsupported examples on BSD build
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 29 Mar 2018 13:54:33 +0000 (14:54 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 17 Apr 2018 14:09:43 +0000 (16:09 +0200)
When building with meson, set build to false when building unsupported
example apps on FreeBSD.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/kni/meson.build
examples/l3fwd-power/meson.build
examples/tep_termination/meson.build
examples/vhost/meson.build
examples/vhost_scsi/meson.build

index bf3561713b70c25d4b5222eaa53338ef359e0e3f..a69f0df426d83e775ed1e54df71ee8ca9da12593 100644 (file)
@@ -6,6 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if host_machine.system() != 'linux'
+       build = false
+endif
 deps += ['kni', 'bus_pci']
 allow_experimental_apis = true
 sources = files(
index cb50c7ab43ee614a23fb1c6c969d14a2b2872b54..69251242b1940be942a2b7ebcd970f4cccbd88ff 100644 (file)
@@ -6,6 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if host_machine.system() != 'linux'
+       build = false
+endif
 deps += ['power', 'timer', 'lpm', 'hash']
 allow_experimental_apis = true
 sources = files(
index 24697ec6d27ff076aeb45df332ad2b92a3f15de9..6d3636243148c37448089824739834005ad573e0 100644 (file)
@@ -6,6 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if host_machine.system() != 'linux'
+       build = false
+endif
 deps += ['hash', 'vhost']
 allow_experimental_apis = true
 sources = files(
index 64c84ee124b012109e893ff842b3841375477ec9..7b498076cfb0a5736be7ed2b793d6ffcaa203f27 100644 (file)
@@ -6,6 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if host_machine.system() != 'linux'
+       build = false
+endif
 deps += 'vhost'
 allow_experimental_apis = true
 sources = files(
index bd78e84b3cee47477914197565f1897424f75de9..5f92370f54daa2f37efe0664afc18dc65d9852f8 100644 (file)
@@ -6,6 +6,9 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+if host_machine.system() != 'linux'
+       build = false
+endif
 deps += 'vhost'
 cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64']
 sources = files(