summaryrefslogtreecommitdiff
path: root/drivers/mempool
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-02-23 15:28:03 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-03-14 00:37:42 +0100
commit09e1e8d256b0832a64af6d13bf96fcb49e1e7ded (patch)
tree06c3091a7e766dd993853e7517fd31adc6f8766a /drivers/mempool
parent3fcdd125463c89bdd94fb7eca7d024bfd3cf2a99 (diff)
downloaddpdk-09e1e8d256b0832a64af6d13bf96fcb49e1e7ded.zip
dpdk-09e1e8d256b0832a64af6d13bf96fcb49e1e7ded.tar.gz
dpdk-09e1e8d256b0832a64af6d13bf96fcb49e1e7ded.tar.xz
mk: fix dependencies of dpaaX drivers
This patch fixes the build dependency of various dpaaX components, when the dpaa or fslmc bus is disabled, or VFIO is disabled. Fixes: 1ee9569576f6 ("config: enable dpaaX drivers for generic ARMv8") Cc: stable@dpdk.org Reported-by: Yongseok Koh <yskoh@mellanox.com> Suggested-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'drivers/mempool')
-rw-r--r--drivers/mempool/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mempool/Makefile b/drivers/mempool/Makefile
index aae2cb1..fc8b73b 100644
--- a/drivers/mempool/Makefile
+++ b/drivers/mempool/Makefile
@@ -3,8 +3,12 @@
include $(RTE_SDK)/mk/rte.vars.mk
+ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y)
DIRS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa
+endif
+ifeq ($(CONFIG_RTE_EAL_VFIO)$(CONFIG_RTE_LIBRTE_FSLMC_BUS),yy)
DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2
+endif
DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += ring
DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += stack
DIRS-$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL) += octeontx