summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2016-06-24 17:13:44 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-06-29 13:33:01 +0200
commitf8e9cbe2aa8258be201be58f1b2ba382b928b1ad (patch)
treedf0af94f261d8ef079ae9b8e83402fea6a99242a /examples
parentfef3066c40d9641352d938a775e4724f76820314 (diff)
downloaddpdk-f8e9cbe2aa8258be201be58f1b2ba382b928b1ad.zip
dpdk-f8e9cbe2aa8258be201be58f1b2ba382b928b1ad.tar.gz
dpdk-f8e9cbe2aa8258be201be58f1b2ba382b928b1ad.tar.xz
mk: fix internal dependencies
Some libraries were missing their dependency on eal, mbuf, mempool, ring and kvargs. It is revealed by the linker option "-z defs". Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ethtool/lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ethtool/lib/Makefile b/examples/ethtool/lib/Makefile
index d7ee955..5b4991e 100644
--- a/examples/ethtool/lib/Makefile
+++ b/examples/ethtool/lib/Makefile
@@ -54,4 +54,8 @@ SRCS-y := rte_ethtool.c
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+# internal dependencies
+DEPDIRS-y += lib/librte_eal
+DEPDIRS-y += lib/librte_ether
+
include $(RTE_SDK)/mk/rte.extlib.mk