From: TJ <linux@iam.tj>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: Bug 116411: tools/perf_clean: output directory does not exist. Stop.
Date: Sun, 17 Apr 2016 01:31:51 +0100 [thread overview]
Message-ID: <76615878fdc5c189e7d858b880ce8b85@iam.tj> (raw)
In-Reply-To: <20160415160002.GP9056@kernel.org>
On 15-04-2016 17:00, Arnaldo Carvalho de Melo wrote:
----8-<---- snip
>
> Thanks for narrowing it down, do you have any patch fixing this?
I'm having some success with the following change although I'm a long
way from completing tests of all possible permutations. It's a bit 'raw'
and could be caught out:
diff --git a/tools/scripts/Makefile.include
b/tools/scripts/Makefile.include
index 8abbef1..7c88242 100644
--- a/tools/scripts/Makefile.include
+++ b/tools/scripts/Makefile.include
@@ -2,7 +2,7 @@ ifneq ($(O),)
ifeq ($(origin O), command line)
dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O)
does not exist),)
ABSOLUTE_O := $(shell cd $(O) ; pwd)
- OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/)
+ OUTPUT := $(ABSOLUTE_O)/$(if $(filter
%$(subdir),$(ABSOLUTE_O)),,$(subdir)/)
COMMAND_O := O=$(ABSOLUTE_O)
ifeq ($(objtree),)
objtree := $(O)
next parent reply other threads:[~2016-04-17 0:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9e79969b0c42c9a9454a8838451945ce@iam.tj>
[not found] ` <20160415160002.GP9056@kernel.org>
2016-04-17 0:31 ` TJ [this message]
2016-04-15 20:06 TJ
-- strict thread matches above, loose matches on Subject: below --
2016-04-15 20:05 TJ
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=76615878fdc5c189e7d858b880ce8b85@iam.tj \
--to=linux@iam.tj \
--cc=acme@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/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
all inboxes | Powered by JetHome®