From: David Ahern Date: Thu, 6 Sep 2012 00:53:36 +0000 (-0600) Subject: perf tools: Clean target should do clean for lib/traceevent too X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eea9b6842950924876a1a21ca197f189f8bb335a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David Ahern Cc: Namhyung Kim Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1346892816-61779-1-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- 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) $(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*