summaryrefslogtreecommitdiff
path: root/drivers/raw
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2018-07-20 14:53:36 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-07-26 09:58:19 +0200
commitc49825f8956bffcd23502a4dd98b3a32d66bb975 (patch)
treea87df7a8bb6394e2beeb0c320116e3306a699cd4 /drivers/raw
parent9d35895e51539cef28e604a1ba8d4d521895cdd7 (diff)
downloaddpdk-next-eventdev-c49825f8956bffcd23502a4dd98b3a32d66bb975.zip
dpdk-next-eventdev-c49825f8956bffcd23502a4dd98b3a32d66bb975.tar.gz
dpdk-next-eventdev-c49825f8956bffcd23502a4dd98b3a32d66bb975.tar.xz
build: fix meson build on FreeBSD
A number of drivers have dependencies on libraries which are only built on Linux, and so they need to be disabled on FreeBSD. Rather than basing the disabling on OS, in each case we base the building of the library on the presence of the required dependency. Fixes: 50385c106021 ("net/ifc: add to meson build") Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") Fixes: 5936aa3a39b9 ("net/vhost: add to meson build") Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface driver") Fixes: b1ee472fed58 ("raw/dpaa2_qdma: introduce the DPAA2 QDMA driver") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'drivers/raw')
-rw-r--r--drivers/raw/dpaa2_cmdif/meson.build1
-rw-r--r--drivers/raw/dpaa2_qdma/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/raw/dpaa2_cmdif/meson.build b/drivers/raw/dpaa2_cmdif/meson.build
index 8c90943..1d14687 100644
--- a/drivers/raw/dpaa2_cmdif/meson.build
+++ b/drivers/raw/dpaa2_cmdif/meson.build
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
+build = dpdk_conf.has('RTE_LIBRTE_DPAA2_MEMPOOL')
deps += ['rawdev', 'mempool_dpaa2', 'bus_vdev']
sources = files('dpaa2_cmdif.c')
diff --git a/drivers/raw/dpaa2_qdma/meson.build b/drivers/raw/dpaa2_qdma/meson.build
index a2eb1d2..b6a081f 100644
--- a/drivers/raw/dpaa2_qdma/meson.build
+++ b/drivers/raw/dpaa2_qdma/meson.build
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
+build = dpdk_conf.has('RTE_LIBRTE_DPAA2_MEMPOOL')
deps += ['rawdev', 'mempool_dpaa2', 'ring']
sources = files('dpaa2_qdma.c')