summaryrefslogtreecommitdiff
path: root/drivers/net/softnic
diff options
context:
space:
mode:
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>2018-10-04 15:10:01 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 18:00:17 +0200
commitddb05fec8c4cfadf5e5496b0919e78a7d7038799 (patch)
tree73f9cacf8756b85db539706533975a7e19d0650b /drivers/net/softnic
parentdbb7952d11e6f99023569531f59f8db9e484a3ed (diff)
downloaddpdk-ddb05fec8c4cfadf5e5496b0919e78a7d7038799.zip
dpdk-ddb05fec8c4cfadf5e5496b0919e78a7d7038799.tar.gz
dpdk-ddb05fec8c4cfadf5e5496b0919e78a7d7038799.tar.xz
net/softnic: disable in FreeBSD build with meson
Disabled softnic build in FreeBSD because it is not supported Added changes to enable softnic build if it is Linux OS and disable in FreeBSD. Fixes: 6b2a3900e2fb ("net/softnic: add to meson build") Cc: stable@dpdk.org Signed-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com> Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
Diffstat (limited to 'drivers/net/softnic')
-rw-r--r--drivers/net/softnic/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build
index a18eef5..da249c0 100644
--- a/drivers/net/softnic/meson.build
+++ b/drivers/net/softnic/meson.build
@@ -1,6 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
+if host_machine.system() != 'linux'
+ build = false
+endif
allow_experimental_apis = true
install_headers('rte_eth_softnic.h')
sources = files('rte_eth_softnic_tm.c',