dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 09/26] mk: link librte_timer with --whole-archive
@ 2018-06-04 12:09 Michal Krawczyk
  0 siblings, 0 replies; only message in thread
From: Michal Krawczyk @ 2018-06-04 12:09 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, matua, 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 1e32c83e7..c70bc254e 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -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
-- 
2.14.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-04 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-04 12:09 [PATCH v2 09/26] 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).