summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>2018-10-04 15:10:00 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 18:00:01 +0200
commitdbb7952d11e6f99023569531f59f8db9e484a3ed (patch)
treea1ae52a255df079dd37fdc1edda7f895e32f3deb /drivers
parente60a1a8ba5dd48a2b1ff19833c06baa7b6fd0e17 (diff)
downloaddpdk-dbb7952d11e6f99023569531f59f8db9e484a3ed.zip
dpdk-dbb7952d11e6f99023569531f59f8db9e484a3ed.tar.gz
dpdk-dbb7952d11e6f99023569531f59f8db9e484a3ed.tar.xz
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 <agalyax.babu.radhakrishnan@intel.com> Acked-by: Allain Legacy <allain.legacy@windriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/avp/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/avp/meson.build b/drivers/net/avp/meson.build
index 6076c31..b7ffdfc 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')