From: tip-bot for Jiri Olsa <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, a.p.zijlstra@chello.nl, tglx@linutronix.de,
namhyung@kernel.org, jolsa@kernel.org, acme@redhat.com,
linux-kernel@vger.kernel.org, dsahern@gmail.com, linux@iam.tj,
hpa@zytor.com
Subject: [tip:perf/core] tools build: Fix perf_clean target
Date: Wed, 27 Apr 2016 08:32:03 -0700 [thread overview]
Message-ID: <tip-ab362f5a95ff72a895c446e9d5ef548cac2fea07@git.kernel.org> (raw)
In-Reply-To: <1461615438-27894-2-git-send-email-jolsa@kernel.org>
Commit-ID: ab362f5a95ff72a895c446e9d5ef548cac2fea07
Gitweb: http://git.kernel.org/tip/ab362f5a95ff72a895c446e9d5ef548cac2fea07
Author: Jiri Olsa <jolsa@kernel.org>
AuthorDate: Mon, 25 Apr 2016 22:17:18 +0200
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 25 Apr 2016 17:59:36 -0300
tools build: Fix perf_clean target
Fix perf_clean target to follow the same logic as perf target.
Fixes the following make invokation:
$ cd <kernelsrc> && make tools/perf_clean
Reported-by: TJ <linux@iam.tj>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116411
Link: http://lkml.kernel.org/r/1461615438-27894-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 60c7e6c..6bf68fe 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)
next prev parent reply other threads:[~2016-04-27 15:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 20:17 [PATCH 1/2] perf tools: Make the x86 clean quiet Jiri Olsa
2016-04-25 20:17 ` [PATCH 2/2] tools build: Fix perf_clean target Jiri Olsa
2016-04-25 20:22 ` Arnaldo Carvalho de Melo
2016-04-27 15:32 ` tip-bot for Jiri Olsa [this message]
2016-04-27 15:31 ` [tip:perf/core] perf tools: Make the x86 clean quiet tip-bot for Jiri Olsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-ab362f5a95ff72a895c446e9d5ef548cac2fea07@git.kernel.org \
--to=tipbot@zytor.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=dsahern@gmail.com \
--cc=hpa@zytor.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=linux@iam.tj \
--cc=mingo@kernel.org \
--cc=namhyung@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox