From: Michael Ellerman Date: Thu, 9 Feb 2017 08:56:29 +0000 (+1100) Subject: selftests/powerpc: Fix the clean rule since recent changes X-Git-Tag: v4.14-rc1~1358^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e8ec87dad68059876c6079e27912d819061bb4e;p=platform%2Fkernel%2Flinux-rpi.git selftests/powerpc: Fix the clean rule since recent changes The clean rule is broken for the powerpc tests: make[1]: Entering directory 'tools/testing/selftests/powerpc' Makefile:63: warning: overriding recipe for target 'clean' ../lib.mk:51: warning: ignoring old recipe for target 'clean' /bin/sh: 3: Syntax error: end of file unexpected (expecting "done") Makefile:63: recipe for target 'clean' failed Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT") Signed-off-by: Michael Ellerman Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile index 1d48c0c..1c5d057 100644 --- a/tools/testing/selftests/powerpc/Makefile +++ b/tools/testing/selftests/powerpc/Makefile @@ -62,7 +62,8 @@ endef clean: @for TARGET in $(SUB_DIRS); do \ BUILD_TARGET=$$OUTPUT/$$TARGET; \ - $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean;\ done; + $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \ + done; rm -f tags tags: