DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org, Ferruh Yigit <ferruh.yigit@intel.com>
Subject: [dpdk-dev] [PATCH v2 1/2] app/testpmd: use LDLIBS in makefile
Date: Tue, 31 Jan 2017 15:04:47 +0000	[thread overview]
Message-ID: <20170131150448.8294-1-ferruh.yigit@intel.com> (raw)
In-Reply-To: <20170131121427.31279-1-ferruh.yigit@intel.com>

_LDLIBS is for internal usage, convert to LDLIBS usage.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 app/test-pmd/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile
index a1500bb..7e52eb8 100644
--- a/app/test-pmd/Makefile
+++ b/app/test-pmd/Makefile
@@ -60,8 +60,15 @@ SRCS-y += icmpecho.c
 SRCS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ieee1588fwd.c
 
 ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
-_LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe
-_LDLIBS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += -lrte_pmd_i40e
+
+ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
+LDLIBS += -lrte_pmd_ixgbe
+endif
+
+ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)
+LDLIBS += -lrte_pmd_i40e
+endif
+
 endif
 
 CFLAGS_cmdline.o := -D_GNU_SOURCE
-- 
2.9.3

  parent reply	other threads:[~2017-01-31 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31 12:14 [dpdk-dev] [PATCH " Ferruh Yigit
2017-01-31 12:14 ` [dpdk-dev] [PATCH 2/2] mk: move PMD libraries to applications Ferruh Yigit
2017-01-31 14:16   ` Thomas Monjalon
2017-01-31 14:36     ` Ferruh Yigit
2017-01-31 15:04 ` Ferruh Yigit [this message]
2017-01-31 15:04   ` [dpdk-dev] [PATCH v2 " Ferruh Yigit
2017-02-10 10:04     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170131150448.8294-1-ferruh.yigit@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).