net/avp: disable in FreeBSD build with meson
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Thu, 4 Oct 2018 14:10:00 +0000 (15:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 16:00:01 +0000 (18:00 +0200)
Disabled avp build in FreeBSD because it is not supported.
Added changes to enable avp build if it is Linux OS and
disable in FreeBSD.

Fixes: ed71204dd06c ("net/avp: add to meson build")
Cc: stable@dpdk.org
Signed-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
drivers/net/avp/meson.build

index 6076c31..b7ffdfc 100644 (file)
@@ -1,5 +1,8 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
+if host_machine.system() != 'linux'
+        build = false
+endif
 sources = files('avp_ethdev.c')
 install_headers('rte_avp_common.h', 'rte_avp_fifo.h')