summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>2018-10-04 15:10:02 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 18:03:30 +0200
commitb077118a504d45f1d21cdf6c4b926075d112317c (patch)
tree609f80a614dc1f026a9e32c37c83d2709e9820ab /drivers
parentddb05fec8c4cfadf5e5496b0919e78a7d7038799 (diff)
downloaddpdk-b077118a504d45f1d21cdf6c4b926075d112317c.zip
dpdk-b077118a504d45f1d21cdf6c4b926075d112317c.tar.gz
dpdk-b077118a504d45f1d21cdf6c4b926075d112317c.tar.xz
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 <agalyax.babu.radhakrishnan@intel.com> Acked-by: Keith Wiles <keith.wiles@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/tap/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.build
index f7e8852..9cb7142 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 <bluca@debian.org>
+if host_machine.system() != 'linux'
+ build = false
+endif
sources = files(
'rte_eth_tap.c',
'tap_bpf_api.c',