From d389f9a352a58e5038c395dab3ce04e74469f08b Mon Sep 17 00:00:00 2001 From: Jasvinder Singh Date: Tue, 10 Apr 2018 10:51:32 +0100 Subject: [PATCH] examples/ip_pipeline: skip in FreeBSD build IP_Pipeline app is not supported in FreeBSD environment. Therefore, skip it while building the sample apps on FreeBSD. Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") Fixes: 2f74ae28e23f ("examples/ip_pipeline: add tap object") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.20.1