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: 095cae3668 ("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>
This commit is contained in:
Agalya Babu RadhaKrishnan 2018-10-04 15:10:02 +01:00 committed by Thomas Monjalon
parent ddb05fec8c
commit b077118a50

View 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',