diff options
author | Olivier Matz <olivier.matz@6wind.com> | 2017-10-12 18:04:21 +0200 |
---|---|---|
committer | Thomas Monjalon <thomas@monjalon.net> | 2017-10-24 02:14:57 +0200 |
commit | cbc12b0a96f5751ab2ed10001f44d39211e3bd45 (patch) | |
tree | e2b7751e155544617bf3298cf03491eb501dfc42 /lib/librte_reorder | |
parent | 4761b145b1e87f8521277e29e7718ab0384d0d62 (diff) | |
download | dpdk-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_reorder')
-rw-r--r-- | lib/librte_reorder/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_reorder/Makefile b/lib/librte_reorder/Makefile index 4e44e72..5d38d71 100644 --- a/lib/librte_reorder/Makefile +++ b/lib/librte_reorder/Makefile @@ -36,6 +36,7 @@ LIB = librte_reorder.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) +LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf EXPORT_MAP := rte_reorder_version.map |