mk: link librte_timer with --whole-archive
PATCH v2 9/26 mk: link librte_timer with --whole-archive
ENA PMD is only PMD which is using librte_timer. In linking routine rte_timer is linked before PMDs, so if timers are not being used by the applications, they are just cut out.
Signed-off-by Michal Krawczyk <[email protected]>
--- mk/rte.app.mk | 1 + 1 file changed, 1 insertion(+)
mk/rte.app.mk +1 -0
@@ -60,6 +60,7 @@ endif _LDLIBS-y += --whole-archive +_LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH) += -lrte_hash _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lrte_member
Signature · 1 line
2.14.1