From: Agalya Babu RadhaKrishnan Date: Thu, 4 Oct 2018 14:10:01 +0000 (+0100) Subject: net/softnic: disable in FreeBSD build with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ddb05fec8c4cfadf5e5496b0919e78a7d7038799;p=dpdk.git 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 Acked-by: Jasvinder Singh --- diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build index a18eef5965..da249c068d 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',