lkml.org 
[lkml]   [2012]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] perf: clean target should do clean for lib/traceevent too
Date
On Wed,  5 Sep 2012 18:53:36 -0600, David Ahern wrote:
> It's built as part of perf, so it should be cleaned too.
>
> Signed-off-by: David Ahern <dsahern@gmail.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>

Tested-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


> ---
> tools/perf/Makefile | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tools/perf/Makefile b/tools/perf/Makefile
> index 90d8e09..e7e62b2 100644
> --- a/tools/perf/Makefile
> +++ b/tools/perf/Makefile
> @@ -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*


\
 
 \ /
  Last update: 2012-09-06 04:02    [W:0.036 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site