From: Ferruh Yigit Date: Tue, 31 Jan 2017 15:04:47 +0000 (+0000) Subject: app/testpmd: use LDLIBS in makefile X-Git-Tag: spdx-start~4570 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=04bdcb325513257f9be1d8f5eba7ccb0179e78f6;p=dpdk.git app/testpmd: use LDLIBS in makefile _LDLIBS is for internal usage, convert to LDLIBS usage. Signed-off-by: Ferruh Yigit --- diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index a1500bb3f3..7e52eb8d35 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