From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 14:10:03 +0000 (+0100) Subject: net/vdev_netvsc: disable in FreeBSD build with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=477f0d38b486ca6afa2e090c56652737baadda15;p=dpdk.git 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 --- 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