From: Tomasz Duszynski Date: Mon, 9 Oct 2017 15:00:29 +0000 (+0200) Subject: mk: link the whole cfgfile library X-Git-Tag: spdx-start~1496 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f98d403bc10fd891ba73997922c0b2130072e778;p=dpdk.git mk: link the whole cfgfile library MRVL net pmd needs rte_cfgfile to parse QoS configuration file thus librte_pmd_mrvl.a contains undefined symbols from librte_cfgfile.a. As a result linking applications under app/ directory will fail because librte_cfgfile.a comes before librte_pmd_mrvl.a during the linking stage. Linking the whole librte_cfgfile.a solves the issue. Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 83c952eb2e..fdbe3c797c 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -82,10 +82,10 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_POWER) += -lrte_power _LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD) += -lrte_efd -_LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-y += --whole-archive +_LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH) += -lrte_hash _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lrte_member _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost