diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-21 16:22:10 -0600 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-25 09:47:38 -0600 |
commit | 337f1e366c75ec88d9bbae59c0703d4289458b29 (patch) | |
tree | 9c0ab0358e085a82cc00cfe4e8ae17f79ebeab30 /tools/testing/selftests/powerpc/Makefile | |
parent | 6dd89010ff3620d60fc9d604218791641d06831c (diff) | |
download | linux-stable-337f1e366c75ec88d9bbae59c0703d4289458b29.tar.gz linux-stable-337f1e366c75ec88d9bbae59c0703d4289458b29.tar.bz2 linux-stable-337f1e366c75ec88d9bbae59c0703d4289458b29.zip |
selftests: powerpc: override clean in lib.mk to fix warnings
Add override for lib.mk clean to fix the following warnings from clean
target run.
Makefile:63: warning: overriding recipe for target 'clean'
../lib.mk:55: warning: ignoring old recipe for target 'clean'
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/powerpc/Makefile')
-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 1c5d0575802e..8d9fc64c8761 100644 --- a/tools/testing/selftests/powerpc/Makefile +++ b/tools/testing/selftests/powerpc/Makefile @@ -59,12 +59,13 @@ override define EMIT_TESTS done; endef -clean: +override define CLEAN @for TARGET in $(SUB_DIRS); do \ BUILD_TARGET=$$OUTPUT/$$TARGET; \ $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \ done; rm -f tags +endef tags: find . -name '*.c' -o -name '*.h' | xargs ctags |