From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH 1/2] app/testpmd: use LDLIBS in makefile Date: Tue, 31 Jan 2017 12:14:26 +0000 Message-ID: <20170131121427.31279-1-ferruh.yigit@intel.com> Cc: dev@dpdk.org, Ferruh Yigit To: Thomas Monjalon Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3ABDD12A8 for ; Tue, 31 Jan 2017 13:14:32 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" _LDLIBS is for internal usage, convert to LDLIBS usage. Signed-off-by: Ferruh Yigit --- 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