event/dpaa2: fix shared build
authorShreyansh Jain <shreyansh.jain@nxp.com>
Thu, 26 Oct 2017 14:09:06 +0000 (19:39 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Oct 2017 21:04:54 +0000 (23:04 +0200)
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 <shreyansh.jain@nxp.com>
drivers/event/dpaa2/Makefile
drivers/net/dpaa2/rte_pmd_dpaa2_version.map

index b23c18e..d268e33 100644 (file)
@@ -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
 
index b741bc0..09f4364 100644 (file)
@@ -8,4 +8,5 @@ DPDK_17.11 {
 
        dpaa2_eth_eventq_attach;
        dpaa2_eth_eventq_detach;
-};
+
+} DPDK_17.05;