net/softnic: disable in FreeBSD build with meson
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Thu, 4 Oct 2018 14:10:01 +0000 (15:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 16:00:17 +0000 (18:00 +0200)
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>
drivers/net/softnic/meson.build

index a18eef5..da249c0 100644 (file)
@@ -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',