Skip to contentSkip to conversation

mk: link librte_timer with --whole-archive

PATCH Superseded Michal Krawczyk 1 participant 1 message May 9, 2018

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 9/24 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.

---
 mk/rte.app.mk | 1 +
 1 file changed, 1 insertion(+)
mk/rte.app.mk +1 -0
index 26f35630a..9dd3dd5af 100644
@@ -84,6 +84,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD)            += -lrte_efd
 
 _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

--
2.14.1