Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

authored by

Michael Ellerman and committed by
Shuah Khan
2e8ec87d 634ce97c

+2 -1
+2 -1
tools/testing/selftests/powerpc/Makefile
··· 62 62 clean: 63 63 @for TARGET in $(SUB_DIRS); do \ 64 64 BUILD_TARGET=$$OUTPUT/$$TARGET; \ 65 - $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean;\ done; 65 + $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \ 66 + done; 66 67 rm -f tags 67 68 68 69 tags: