examples: ignore linux apps on bsd
[dpdk.git] / examples / exception_path / Makefile
index 76f71d9..959914a 100644 (file)
@@ -39,9 +39,10 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
 include $(RTE_SDK)/mk/rte.vars.mk
 
 ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
-$(error This application can only operate in a linuxapp environment, \
+$(info This application can only operate in a linuxapp environment, \
 please change the definition of the RTE_TARGET environment variable)
-endif
+all:
+else
 
 # binary name
 APP = exception_path
@@ -53,3 +54,5 @@ CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
 include $(RTE_SDK)/mk/rte.extapp.mk
+
+endif