* [dpdk-dev] [PATCH v1 09/24] mk: link librte_timer with --whole-archive
@ 2018-05-09 12:47 Michal Krawczyk
0 siblings, 0 replies; only message in thread
From: Michal Krawczyk @ 2018-05-09 12:47 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, matua, gtzalik, mw, Michal Krawczyk
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(+)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 26f35630a..9dd3dd5af 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-09 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 12:47 [dpdk-dev] [PATCH v1 09/24] mk: link librte_timer with --whole-archive Michal Krawczyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).