net/tap: disable in FreeBSD build with meson
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Thu, 4 Oct 2018 14:10:02 +0000 (15:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 16:03:30 +0000 (18:03 +0200)
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>
drivers/net/tap/meson.build

index f7e8852..9cb7142 100644 (file)
@@ -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',