X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_distributor%2FMakefile;h=b417ee7bee030c8e7482770b7e1c0f0e04ed9148;hb=4792d3ea858ef636b4ee8a34e1fcd767174f056a;hp=f0129ad572030aece4bad77d90be8e777f1cbb9d;hpb=775003ad2f96c9881a00a6534518a875723978c8;p=dpdk.git diff --git a/lib/librte_distributor/Makefile b/lib/librte_distributor/Makefile index f0129ad572..b417ee7bee 100644 --- a/lib/librte_distributor/Makefile +++ b/lib/librte_distributor/Makefile @@ -44,9 +44,14 @@ LIBABIVER := 1 # all source are stored in SRCS-y SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) := rte_distributor_v20.c SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor.c +ifeq ($(CONFIG_RTE_ARCH_X86),y) +SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_sse.c +else +SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_generic.c +endif + # install this header file SYMLINK-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR)-include := rte_distributor.h -SYMLINK-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR)-include += rte_distributor_v20.h include $(RTE_SDK)/mk/rte.lib.mk