Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1386863

Re: [PATCH 2/2] tools build: Fix perf_clean target

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] tools build: Fix perf_clean target
Date 2016-04-25 22:30 +0200
Message-ID <rrViO-3sQ-7@gated-at.bofh.it> (permalink)
References <rrV97-3ni-3@gated-at.bofh.it> <rrV99-3ni-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Mon, Apr 25, 2016 at 10:17:18PM +0200, Jiri Olsa escreveu:
> Fixig perf_clean target to follow the same logic as
> perf target, it fixes following make invokation:
> 
>   $ cd <kernelsrc> && make tools/perf_clean


TJ, have you had the chance to test this? If so, can I have your
Tested-by: ack?

- Arnaldo
 
> Reported-by: TJ <linux@iam.tj>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=116411
> Link: http://lkml.kernel.org/n/tip-79ja8qxlyrqkfx5h0ndnffl0@git.kernel.org
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
>  tools/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/Makefile b/tools/Makefile
> index 60c7e6c8ff17..6bf68fe7dd29 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -137,7 +137,8 @@ libsubcmd_clean:
>  	$(call descend,lib/subcmd,clean)
>  
>  perf_clean:
> -	$(call descend,$(@:_clean=),clean)
> +	$(Q)mkdir -p $(PERF_O) .
> +	$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= clean
>  
>  selftests_clean:
>  	$(call descend,testing/$(@:_clean=),clean)
> -- 
> 2.4.11

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] perf tools: Make the x86 clean quiet Jiri Olsa <jolsa@kernel.org> - 2016-04-25 22:20 +0200
  [PATCH 2/2] tools build: Fix perf_clean target Jiri Olsa <jolsa@kernel.org> - 2016-04-25 22:20 +0200
    Re: [PATCH 2/2] tools build: Fix perf_clean target Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-04-25 22:30 +0200
    [tip:perf/core] tools build: Fix perf_clean target tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-04-27 17:40 +0200
  [tip:perf/core] perf tools: Make the x86 clean quiet tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-04-27 17:40 +0200

csiph-web