From b077118a504d45f1d21cdf6c4b926075d112317c Mon Sep 17 00:00:00 2001 From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 15:10:02 +0100 Subject: [PATCH] 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 --- drivers/net/tap/meson.build | 3 +++ 1 file changed, 3 insertions(+) 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', -- 2.20.1