aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan2017-04-21 17:22:10 -0500
committerShuah Khan2017-04-25 10:47:38 -0500
commit337f1e366c75ec88d9bbae59c0703d4289458b29 (patch)
tree9c0ab0358e085a82cc00cfe4e8ae17f79ebeab30 /tools
parent6dd89010ff3620d60fc9d604218791641d06831c (diff)
downloadkernel-337f1e366c75ec88d9bbae59c0703d4289458b29.tar.gz
kernel-337f1e366c75ec88d9bbae59c0703d4289458b29.tar.xz
kernel-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')
-rw-r--r--tools/testing/selftests/powerpc/Makefile3
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
59 done; 59 done;
60endef 60endef
61 61
62clean: 62override define CLEAN
63 @for TARGET in $(SUB_DIRS); do \ 63 @for TARGET in $(SUB_DIRS); do \
64 BUILD_TARGET=$$OUTPUT/$$TARGET; \ 64 BUILD_TARGET=$$OUTPUT/$$TARGET; \
65 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \ 65 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \
66 done; 66 done;
67 rm -f tags 67 rm -f tags
68endef
68 69
69tags: 70tags:
70 find . -name '*.c' -o -name '*.h' | xargs ctags 71 find . -name '*.c' -o -name '*.h' | xargs ctags