From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 14:10:00 +0000 (+0100) Subject: net/avp: disable in FreeBSD build with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dbb7952d11e6f99023569531f59f8db9e484a3ed;p=dpdk.git net/avp: disable in FreeBSD build with meson 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 Acked-by: Allain Legacy --- diff --git a/drivers/net/avp/meson.build b/drivers/net/avp/meson.build index 6076c31b9d..b7ffdfc80b 100644 --- a/drivers/net/avp/meson.build +++ b/drivers/net/avp/meson.build @@ -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')