From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id 3E1041B1AF for ; Thu, 7 Jun 2018 11:43:42 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id y20-v6so13686361lfy.0 for ; Thu, 07 Jun 2018 02:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xECSz7/I7S17LsHaG9dxyZD5BBGfcwkW8ZONGHOJ4Lc=; b=R+mNK6Y1MTZCCK22R6flV3CKuoEV3IjeKb4luq6wz53d8i+2Z5VSmb7yFk9shJAcuw DAHXoRfsNW5NgocphOjsBmtgcqRYjqw/0ScCRX/WnuOcZfBSyBMXuBukbrpwOlIf2vFi B9UUWBjXSZMkF/mH0NWzQSNSC9Bsi9t1pZ5UFkN6qAOYjX5vQIkvu3i272raluikHuNC ihl+nEJlUfJa6HJvo5o4wVZo0/1J5jzlrQgU4nEI1NLyvTgvOHmKfFUPqqNbze1xtsLY a1gNMNFqhuIOgemLzZIk0IHtak8xLZtU5OCyWsJWOez3u/AE2QzXm+mX0uCxPap5MP+W d8gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xECSz7/I7S17LsHaG9dxyZD5BBGfcwkW8ZONGHOJ4Lc=; b=jWqJtdmhCUWvGE83kpfvjMjXj4muLYd7dr5jF7+dO2xPTILMgoBWIOWm5FOZVhjRvD u+QO2/X4kbjMB8U8Y9lf0mNOeGIQLsVIfGi7Zi/JVpTDWxrRl3YfmHkX0nA6YOOIuGiM x3fibRy77aRc54Dohr2AjSD8R2uJHTHQWldtchs3RQwZD/m2Zovyo/cW0+2gA8DUgp7D +zv4Q85SHFl0uZWSkTpY42go+v78aVLt5uS16kd8JkX6B4iNKtWTrLmQXL3SC6sbuJzL nY7Fog6lpF5H4XPsrVY0ynJv29LxNyf2sXirVR/1rf+88VbiquJ1ujvJQqlrPgQtEpeV oQoQ== X-Gm-Message-State: APt69E14/TKTVV2aQDE+EP3z7PNUvCj+47Li+Tb8mNjyT2pXdtUvK9pW IdeogBM8XnTXK6vE9jMXBqoDAg== X-Google-Smtp-Source: ADUXVKJet52EWZW2U9PlxSqbfjelwHjyDjpUSCQ8E6/f7LwfVHLLlbQ/AQSeF15BAmtcrwVct9zdGQ== X-Received: by 2002:a2e:8549:: with SMTP id u9-v6mr970202ljj.10.1528364621860; Thu, 07 Jun 2018 02:43:41 -0700 (PDT) Received: from mkPC.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id p28-v6sm3612368lfh.24.2018.06.07.02.43.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 02:43:40 -0700 (PDT) From: Michal Krawczyk To: Marcin Wojtas , Michal Krawczyk , Guy Tzalik , Evgeny Schemeilin , Thomas Monjalon Cc: dev@dpdk.org, matua@amazon.com Date: Thu, 7 Jun 2018 11:43:05 +0200 Message-Id: <20180607094322.14312-10-mk@semihalf.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607094322.14312-1-mk@semihalf.com> References: <20180607094322.14312-1-mk@semihalf.com> Subject: [dpdk-dev] [PATCH v3 10/27] net/ena: add lrte_timer dependency for linking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 09:43:42 -0000 ENA PMD is required to use librte_timer. The appropriate depndency must be added ifin case the DPDK will be built as shared library. Signed-off-by: Michal Krawczyk --- drivers/net/ena/Makefile | 1 + mk/rte.app.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ena/Makefile b/drivers/net/ena/Makefile index 43339f3b9..ff9ce315b 100644 --- a/drivers/net/ena/Makefile +++ b/drivers/net/ena/Makefile @@ -58,5 +58,6 @@ CFLAGS += $(INCLUDES) LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci +LDLIBS += -lrte_timer include $(RTE_SDK)/mk/rte.lib.mk 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