diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-21 18:22:10 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-25 11:47:38 -0400 |
commit | 337f1e366c75ec88d9bbae59c0703d4289458b29 (patch) | |
tree | 9c0ab0358e085a82cc00cfe4e8ae17f79ebeab30 /tools | |
parent | 6dd89010ff3620d60fc9d604218791641d06831c (diff) |
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/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 | |||
59 | done; | 59 | done; |
60 | endef | 60 | endef |
61 | 61 | ||
62 | clean: | 62 | override 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 |
68 | endef | ||
68 | 69 | ||
69 | tags: | 70 | tags: |
70 | find . -name '*.c' -o -name '*.h' | xargs ctags | 71 | find . -name '*.c' -o -name '*.h' | xargs ctags |