From b2f4f2e2a69169c92376797c1365daeb20faf401 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 21 Apr 2017 14:50:22 +0100 Subject: [PATCH] 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 --- 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 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 -- 2.20.1