diff mbox

[dpdk-dev,2/2] drivers: fix shared build error for dpaa2 event

Message ID 20171026140906.10347-2-shreyansh.jain@nxp.com (mailing list archive)
State Accepted, archived
Headers show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Shreyansh Jain Oct. 26, 2017, 2:09 p.m. UTC
Fixes: cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")
Cc: olivier.matz@6wind.com
Fixes: b677d4c6d281 ("net/dpaa2: add API for event Rx adapter")
Cc: nipun.gupta@nxp.com

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
 * This change should have been originally part of cbc12b0a96 but was not
   caught in review.
 * Also, map file changes too should have been part of original event
   patches.

 drivers/event/dpaa2/Makefile                | 2 +-
 drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile
index b23c18e..d268e33 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 b741bc0..09f4364 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;