[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1461615438-27894-2-git-send-email-jolsa@kernel.org>
Date: Mon, 25 Apr 2016 22:17:18 +0200
From: Jiri Olsa <jolsa@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
David Ahern <dsahern@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>, TJ <linux@....tj>
Subject: [PATCH 2/2] tools build: Fix perf_clean target
Fixig perf_clean target to follow the same logic as
perf target, it fixes following make invokation:
$ cd <kernelsrc> && make tools/perf_clean
Reported-by: TJ <linux@....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@...nel.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
Powered by blists - more mailing lists