]> git.droids-corp.org - dpdk.git/commitdiff
examples: fix build clean on FreeBSD
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 21 Apr 2017 13:50:22 +0000 (14:50 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Apr 2017 14:19:54 +0000 (16:19 +0200)
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 <bruce.richardson@intel.com>
examples/exception_path/Makefile
examples/netmap_compat/bridge/Makefile
examples/qos_sched/Makefile

index 959914a2a57353ee7160ba188e40275de5f89ba2..4b6e071751b14363188ad8f85b3ff5a17678827d 100644 (file)
@@ -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
index 50d96e81998dbb21592e9ab573439edd55f06811..1d4ddfffc1993fefb5cb7360ef3f13265fbd1568 100644 (file)
@@ -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
index f59645f527993bea2cfd257a1c2801c5d39a2d1d..e41ac500f7db8a592637d7252f48408052fcf6d3 100644 (file)
@@ -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