perf: clean target should do clean for lib/traceevent too
PATCH 1/1 perf: clean target should do clean for lib/traceevent too
It's built as part of perf, so it should be cleaned too.
Signed-off-by David Ahern <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Namhyung Kim <[email protected]>
--- tools/perf/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
tools/perf/Makefile +4 -1
@@ -921,6 +921,9 @@ $(LIB_FILE): $(LIB_OBJS) $(LIBTRACEEVENT): $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a +$(LIBTRACEEVENT)-clean: + $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) clean + help: @echo 'Perf make targets:' @echo ' doc - make *all* documentation (see below)'
@@ -1060,7 +1063,7 @@ quick-install-html: ### Cleaning rules -clean: +clean: $(LIBTRACEEVENT)-clean $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) $(RM) $(ALL_PROGRAMS) perf $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
Signature · 1 line
1.7.10.1
Quoted 4 lines · David Ahern
It's built as part of perf, so it should be cleaned too.
Signed-off-by David Ahern <[email protected]>Cc Steven Rostedt <[email protected]>
Tested-by Namhyung Kim <[email protected]>
Thanks,
Namhyung
Quoted 27 lines
--- tools/perf/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)tools/perf/Makefile +4
-1@@ -921,6 +921,9 @@ $(LIB_FILE): $(LIB_OBJS) $(LIBTRACEEVENT): $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a +$(LIBTRACEEVENT)-clean: + $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) clean + help: @echo 'Perf make targets:' @echo ' doc - make *all* documentation (see below)'@@ -1060,7 +1063,7 @@ quick-install-html: ### Cleaning rules -clean: +clean: $(LIBTRACEEVENT)-clean $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) $(RM) $(ALL_PROGRAMS) perf $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
[tip:perf/core] perf tools: Clean target should do clean for lib/ traceevent too
In reply to David AhernCommit-ID: eea9b6842950924876a1a21ca197f189f8bb335a Gitweb: http://git.kernel.org/tip/eea9b6842950924876a1a21ca197f189f8bb335a Author: David Ahern <[email protected]> AuthorDate: Wed, 5 Sep 2012 18:53:36 -0600 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 6 Sep 2012 10:47:29 -0300
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 <[email protected]>
Signed-off-by David Ahern <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Steven Rostedt <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
tools/perf/Makefile +4 -1
@@ -917,6 +917,9 @@ $(LIB_FILE): $(LIB_OBJS) $(LIBTRACEEVENT): $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) libtraceevent.a +$(LIBTRACEEVENT)-clean: + $(QUIET_SUBDIR0)$(TRACE_EVENT_DIR) $(QUIET_SUBDIR1) O=$(OUTPUT) clean + help: @echo 'Perf make targets:' @echo ' doc - make *all* documentation (see below)'
@@ -1056,7 +1059,7 @@ quick-install-html: ### Cleaning rules -clean: +clean: $(LIBTRACEEVENT)-clean $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) $(RM) $(ALL_PROGRAMS) perf $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*