summaryrefslogtreecommitdiff
path: root/lib/librte_gso
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 /lib/librte_gso
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 'lib/librte_gso')
-rw-r--r--lib/librte_gso/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_gso/Makefile b/lib/librte_gso/Makefile
index e6d41df..ea5ad74 100644
--- a/lib/librte_gso/Makefile
+++ b/lib/librte_gso/Makefile
@@ -35,6 +35,8 @@ include $(RTE_SDK)/mk/rte.vars.mk
LIB = librte_gso.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_net
+LDLIBS += -lrte_mempool
EXPORT_MAP := rte_gso_version.map