diff options
author | Kusanagi Kouichi <slash@ac.auone-net.jp> | 2011-08-07 04:39:31 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-08-08 08:43:22 -0400 |
commit | 8b7e0b34b8e94f34597e4b804bbb8bb7e27df040 (patch) | |
tree | 1e57495b6a2dd79ad85eb5b77b155e7b48fa6ed7 /tools | |
parent | cf8dc9ff29b55955197ae6f628b19f7f41f6e582 (diff) |
perf tools: Make clean leaves some files
Use LIB_OBJS and BUILTIN_OBJS for .o files.
LIB_FILE is already prefixed with OUTPUT.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110807083932.9C0E514C03B@msa103.auone-net.jp
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index d0861bbd1d94..5bf48fcc6768 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -892,7 +892,7 @@ quick-install-html: | |||
892 | ### Cleaning rules | 892 | ### Cleaning rules |
893 | 893 | ||
894 | clean: | 894 | clean: |
895 | $(RM) $(OUTPUT){*.o,*/*.o,*/*/*.o,*/*/*/*.o,$(LIB_FILE),perf-archive} | 895 | $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) |
896 | $(RM) $(ALL_PROGRAMS) perf | 896 | $(RM) $(ALL_PROGRAMS) perf |
897 | $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* | 897 | $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* |
898 | $(MAKE) -C Documentation/ clean | 898 | $(MAKE) -C Documentation/ clean |