summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>2018-10-04 15:09:59 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 17:58:08 +0200
commite60a1a8ba5dd48a2b1ff19833c06baa7b6fd0e17 (patch)
tree88de5c6af42b256aa4dac08fcfb3c3800d7b48b0 /drivers
parentafbafdca7cb7f6c42d62881fec9dfb17e07eb099 (diff)
downloaddpdk-e60a1a8ba5dd48a2b1ff19833c06baa7b6fd0e17.zip
dpdk-e60a1a8ba5dd48a2b1ff19833c06baa7b6fd0e17.tar.gz
dpdk-e60a1a8ba5dd48a2b1ff19833c06baa7b6fd0e17.tar.xz
net/nfp: disable in FreeBSD build with meson
Disabled nfp build in FreeBSD because it is not supported Added changes to enable NFP build if it is Linux OS and disable in FreeBSD. Fixes: d9b9ca7e0595 ("net/nfp: add to meson build") Cc: stable@dpdk.org Signed-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/nfp/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
index 3ba37e2..a8f29f9 100644
--- a/drivers/net/nfp/meson.build
+++ b/drivers/net/nfp/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
sources = files('nfpcore/nfp_cpp_pcie_ops.c',
'nfpcore/nfp_nsp.c',
'nfpcore/nfp_cppcore.c',