X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2FMakefile;h=11d2b35da9f2b3114402577d3542d096c40fb76e;hb=1d20a073fa5e;hp=c936d1e0c74e2a011aff00d15b0409ff4f5e42a6;hpb=c0b668e0c6b0024c5d1d0881606a6b2b4641889d;p=dpdk.git diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile index c936d1e0c7..11d2b35da9 100644 --- a/examples/ip_pipeline/Makefile +++ b/examples/ip_pipeline/Makefile @@ -67,6 +67,13 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc include $(RTE_SDK)/mk/rte.vars.mk +ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp") +$(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) @@ -79,3 +86,4 @@ CFLAGS += $(WERROR_FLAGS) include $(RTE_SDK)/mk/rte.extapp.mk endif +endif