aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2012-09-05 20:53:36 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-09-06 09:47:29 -0400
commiteea9b6842950924876a1a21ca197f189f8bb335a (patch)
tree8a3d0a046eee1577d11bfcd6bf4aeef7d490b6c8 /tools/perf/Makefile
parent7a4ec938857cf534270b23545495300fbac7f5de (diff)
perf tools: Clean target should do clean for lib/traceevent too
It's built as part of perf, so it should be cleaned too. Tested-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/1346892816-61779-1-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 939cf6d898a5..afd507574902 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -917,6 +917,9 @@ $(LIB_FILE): $(LIB_OBJS)
917$(LIBTRACEEVENT): 917$(LIBTRACEEVENT):
918 $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a 918 $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a
919 919
920$(LIBTRACEEVENT)-clean:
921 $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) clean
922
920help: 923help:
921 @echo 'Perf make targets:' 924 @echo 'Perf make targets:'
922 @echo ' doc - make *all* documentation (see below)' 925 @echo ' doc - make *all* documentation (see below)'
@@ -1056,7 +1059,7 @@ quick-install-html:
1056 1059
1057### Cleaning rules 1060### Cleaning rules
1058 1061
1059clean: 1062clean: $(LIBTRACEEVENT)-clean
1060 $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) 1063 $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS)
1061 $(RM) $(ALL_PROGRAMS) perf 1064 $(RM) $(ALL_PROGRAMS) perf
1062 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* 1065 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*