diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-09 19:56:29 +1100 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-02-14 08:02:20 -0700 |
commit | 2e8ec87dad68059876c6079e27912d819061bb4e (patch) | |
tree | 5f89ee5d3a41c6ccc1fe4443db5420c09c63f715 /tools/testing/selftests/powerpc | |
parent | 634ce97cdfa94a0c5444489b656a662fcc344536 (diff) | |
download | op-kernel-dev-2e8ec87dad68059876c6079e27912d819061bb4e.zip op-kernel-dev-2e8ec87dad68059876c6079e27912d819061bb4e.tar.gz |
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>
Diffstat (limited to 'tools/testing/selftests/powerpc')
-rw-r--r-- | tools/testing/selftests/powerpc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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: |