net/vdev_netvsc: disable in FreeBSD build with meson
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Thu, 4 Oct 2018 14:10:03 +0000 (15:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 16:03:33 +0000 (18:03 +0200)
Disabled vdev_netvsc build in FreeBSD because it is not supported.
Added changes to enable vdev_netvsc build if it is Linux OS and
disable in FreeBSD.

Fixes: 9fc43dbfd66e ("net/vdev_netvsc: add in meson build")

Signed-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Acked-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/net/vdev_netvsc/meson.build

index cc956e7..d3ada87 100644 (file)
@@ -1,6 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
 
+if host_machine.system() != 'linux'
+        build = false
+endif
 sources = files('vdev_netvsc.c')
 
 allow_experimental_apis = true