summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/Makefile
diff options
context:
space:
mode:
authorJasvinder Singh <jasvinder.singh@intel.com>2018-04-10 10:51:32 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-04-10 14:41:01 +0200
commitd389f9a352a58e5038c395dab3ce04e74469f08b (patch)
tree309474ddccec611ad69a907df188e33cd725ad5b /examples/ip_pipeline/Makefile
parentd218a4d060de52c4c027b7ccbf4edb1c62535030 (diff)
downloaddpdk-d389f9a352a58e5038c395dab3ce04e74469f08b.zip
dpdk-d389f9a352a58e5038c395dab3ce04e74469f08b.tar.gz
dpdk-d389f9a352a58e5038c395dab3ce04e74469f08b.tar.xz
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 <jasvinder.singh@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples/ip_pipeline/Makefile')
-rw-r--r--examples/ip_pipeline/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile
index c936d1e..11d2b35 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