X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fip_pipeline%2FMakefile;h=3fb98ce3e5b2b1d64c25e2825bac1322883d275a;hb=193de77b60b79cd15e41402339a151eb83d367d9;hp=d9c8d86f4d6e6569c7b19fe56aefc666bd6973e9;hpb=719374345ceea6ca3321b0f3f0bba2a1c7be1831;p=dpdk.git diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile index d9c8d86f4d..3fb98ce3e5 100644 --- a/examples/ip_pipeline/Makefile +++ b/examples/ip_pipeline/Makefile @@ -13,10 +13,11 @@ SRCS-y += link.c SRCS-y += main.c SRCS-y += mempool.c SRCS-y += parser.c +SRCS-y += pipeline.c SRCS-y += swq.c SRCS-y += tap.c +SRCS-y += thread.c SRCS-y += tmgr.c -#SRCS-y += thread.c # Build using pkg-config variables if possible $(shell pkg-config --exists libdpdk) @@ -66,6 +67,13 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc include $(RTE_SDK)/mk/rte.vars.mk +ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y) +$(info This application can only operate in a linuxapp environment, \ +please change the definition of the RTE_TARGET environment variable) +all: +clean: +else + INC += $(sort $(wildcard *.h)) SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y) @@ -78,3 +86,4 @@ CFLAGS += $(WERROR_FLAGS) include $(RTE_SDK)/mk/rte.extapp.mk endif +endif