[dpdk-dev,v1,09/24] mk: link librte_timer with --whole-archive
Checks
Commit Message
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 <mk@semihalf.com>
---
mk/rte.app.mk | 1 +
1 file changed, 1 insertion(+)
--
2.14.1
@@ -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