From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH v2 2/4] examples: fix examples_clean build target on FreeBSD Date: Fri, 21 Apr 2017 14:50:22 +0100 Message-ID: <20170421135024.25323-3-bruce.richardson@intel.com> References: <20170420163250.1373-1-bruce.richardson@intel.com> <20170421135024.25323-1-bruce.richardson@intel.com> Cc: Bruce Richardson , stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <20170421135024.25323-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- examples/exception_path/Makefile | 1 + examples/netmap_compat/bridge/Makefile | 1 + examples/qos_sched/Makefile | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/exception_path/Makefile b/examples/exception_path/Makefile index 959914a2a..4b6e07175 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 50d96e819..1d4ddfffc 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 f59645f52..e41ac500f 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 -- 2.11.0