summaryrefslogtreecommitdiff
path: root/drivers/net/af_packet/Makefile
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2017-10-12 18:04:21 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-10-24 02:14:57 +0200
commitcbc12b0a96f5751ab2ed10001f44d39211e3bd45 (patch)
treee2b7751e155544617bf3298cf03491eb501dfc42 /drivers/net/af_packet/Makefile
parent4761b145b1e87f8521277e29e7718ab0384d0d62 (diff)
downloaddpdk-cbc12b0a96f5751ab2ed10001f44d39211e3bd45.zip
dpdk-cbc12b0a96f5751ab2ed10001f44d39211e3bd45.tar.gz
dpdk-cbc12b0a96f5751ab2ed10001f44d39211e3bd45.tar.xz
mk: do not generate LDLIBS from directory dependencies
The list of libraries in LDLIBS was generated from the DEPDIRS-xyz variable. This is valid when the subdirectory name match the library name, but it's not always the case, especially for PMDs. The patches removes this feature and explicitly adds the proper libraries in LDLIBS. Some DEPDIRS-xyz variables become useless, remove them. Reported-by: Gage Eads <gage.eads@intel.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Gage Eads <gage.eads@intel.com>
Diffstat (limited to 'drivers/net/af_packet/Makefile')
-rw-r--r--drivers/net/af_packet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/af_packet/Makefile b/drivers/net/af_packet/Makefile
index 70d517c..b97c2a6 100644
--- a/drivers/net/af_packet/Makefile
+++ b/drivers/net/af_packet/Makefile
@@ -44,6 +44,8 @@ LIBABIVER := 1
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
+LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
#
# all source are stored in SRCS-y