From 477f0d38b486ca6afa2e090c56652737baadda15 Mon Sep 17 00:00:00 2001 From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 15:10:03 +0100 Subject: [PATCH] net/vdev_netvsc: disable in FreeBSD build with meson 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 Acked-by: Stephen Hemminger --- drivers/net/vdev_netvsc/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/vdev_netvsc/meson.build b/drivers/net/vdev_netvsc/meson.build index cc956e7b27..d3ada878a7 100644 --- a/drivers/net/vdev_netvsc/meson.build +++ b/drivers/net/vdev_netvsc/meson.build @@ -1,6 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Luca Boccassi +if host_machine.system() != 'linux' + build = false +endif sources = files('vdev_netvsc.c') allow_experimental_apis = true -- 2.20.1