summaryrefslogtreecommitdiff
path: root/examples/vhost_scsi
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2018-03-29 14:54:33 +0100
committerBruce Richardson <bruce.richardson@intel.com>2018-04-17 16:09:43 +0200
commit4f49c9f5be981b85ea8b29928c96ff4f2e02e261 (patch)
tree0a6a07929dc7bc5b99093c3d6eaeab3c4b00022c /examples/vhost_scsi
parentdd25c80b4f4871a8d995711a4dd61d5f147cd824 (diff)
downloaddpdk-4f49c9f5be981b85ea8b29928c96ff4f2e02e261.zip
dpdk-4f49c9f5be981b85ea8b29928c96ff4f2e02e261.tar.gz
dpdk-4f49c9f5be981b85ea8b29928c96ff4f2e02e261.tar.xz
examples: disable unsupported examples on BSD build
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>
Diffstat (limited to 'examples/vhost_scsi')
-rw-r--r--examples/vhost_scsi/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/vhost_scsi/meson.build b/examples/vhost_scsi/meson.build
index bd78e84..5f92370 100644
--- a/examples/vhost_scsi/meson.build
+++ b/examples/vhost_scsi/meson.build
@@ -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(