From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 14:10:02 +0000 (+0100) Subject: net/tap: disable in FreeBSD build with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b077118a504d45f1d21cdf6c4b926075d112317c;p=dpdk.git net/tap: disable in FreeBSD build with meson Disabled tap build in FreeBSD because it is not supported Added changes to enable tap build if it is Linux OS and disable in FreeBSD. Fixes: 095cae366804 ("net/tap: add in meson build") Signed-off-by: Agalya Babu RadhaKrishnan Acked-by: Keith Wiles --- diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.build index f7e8852d2f..9cb7142a09 100644 --- a/drivers/net/tap/meson.build +++ b/drivers/net/tap/meson.build @@ -1,6 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 Luca Boccassi +if host_machine.system() != 'linux' + build = false +endif sources = files( 'rte_eth_tap.c', 'tap_bpf_api.c',