From a57bbb68d47d8699fb69c280d33aeca18f070526 Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Thu, 26 Oct 2017 19:39:06 +0530 Subject: [PATCH] event/dpaa2: fix shared build Fixes: cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies") Fixes: b677d4c6d281 ("net/dpaa2: add API for event Rx adapter") Signed-off-by: Shreyansh Jain --- drivers/event/dpaa2/Makefile | 2 +- drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile index b23c18efbf..d268e33526 100644 --- a/drivers/event/dpaa2/Makefile +++ b/drivers/event/dpaa2/Makefile @@ -45,7 +45,7 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2 CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal -LDLIBS += -lrte_eal -lrte_eventdev -lrte_bus_fslmc +LDLIBS += -lrte_eal -lrte_eventdev -lrte_bus_fslmc -lrte_pmd_dpaa2 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map index b741bc0e09..09f4364bcf 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map +++ b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map @@ -8,4 +8,5 @@ DPDK_17.11 { dpaa2_eth_eventq_attach; dpaa2_eth_eventq_detach; -}; + +} DPDK_17.05; -- 2.20.1