X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-pmd%2FMakefile;h=35ecee9f6c6cdbaef2d3e2025389b436f1075829;hb=df0011c9231268f6d8bc3f8ce5df73fd65ae7033;hp=7e52eb8d35073fe165ecb9e32769a41283d859b3;hpb=04bdcb325513257f9be1d8f5eba7ccb0179e78f6;p=dpdk.git diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 7e52eb8d35..35ecee9f6c 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -61,6 +61,10 @@ SRCS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ieee1588fwd.c ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) +ifeq ($(CONFIG_RTE_LIBRTE_PMD_BOND),y) +LDLIBS += -lrte_pmd_bond +endif + ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) LDLIBS += -lrte_pmd_ixgbe endif @@ -69,12 +73,13 @@ ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) LDLIBS += -lrte_pmd_i40e endif +ifeq ($(CONFIG_RTE_LIBRTE_PMD_XENVIRT),y) +LDLIBS += -lrte_pmd_xenvirt endif -CFLAGS_cmdline.o := -D_GNU_SOURCE +endif -# this application needs libraries first -DEPDIRS-y += lib drivers +CFLAGS_cmdline.o := -D_GNU_SOURCE include $(RTE_SDK)/mk/rte.app.mk