From: Bruce Richardson Date: Fri, 21 Apr 2017 13:50:22 +0000 (+0100) Subject: examples: fix build clean on FreeBSD X-Git-Tag: spdx-start~3412 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=b2f4f2e2a69169c92376797c1365daeb20faf401 examples: fix build clean on FreeBSD The "examples_clean" top-level build target calls "make clean" for each individual example. However, for a number of those which were linux-only examples, the "if" condition only had a dummy "all" target i.e. no "clean" target, causing an error with examples_clean. Fixes: 3417cd687e5e ("examples: ignore linux apps on bsd") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- diff --git a/examples/exception_path/Makefile b/examples/exception_path/Makefile index 959914a2a5..4b6e071751 100644 --- a/examples/exception_path/Makefile +++ b/examples/exception_path/Makefile @@ -42,6 +42,7 @@ 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 # binary name diff --git a/examples/netmap_compat/bridge/Makefile b/examples/netmap_compat/bridge/Makefile index 50d96e8199..1d4ddfffc1 100644 --- a/examples/netmap_compat/bridge/Makefile +++ b/examples/netmap_compat/bridge/Makefile @@ -42,6 +42,7 @@ 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 # binary name diff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile index f59645f527..e41ac500f7 100644 --- a/examples/qos_sched/Makefile +++ b/examples/qos_sched/Makefile @@ -42,6 +42,7 @@ 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 # binary name