mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: TJ <linux@iam.tj>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: Bug 116131: tools/perf and O= fails to build
Date: Mon, 11 Apr 2016 09:35:17 +0100	[thread overview]
Message-ID: <97ba0b17a58368bf68981b46bc0e7804@iam.tj> (raw)
In-Reply-To: <CAHp75Ve5Yzy2nw=+SAiEB-CtQQ4o8J_DpR0h6evVB7fD7wAnjA@mail.gmail.com>


On 11-04-2016 08:40, Andy Shevchenko wrote:
> On Mon, Apr 11, 2016 at 12:36 AM, TJ <linux@iam.tj> wrote:
>> Trying to do an out-of-tree build using either absolute or relative 
>> paths
>> for O= fails when trying to build tools/perf.
> 
> Create directory manually.
> acme@ pointed me out to some commit where it's done on purpose.

It's trying to use *the wrong* directory path entirely.

It looks to be caused by the sub-make calls that pass O=$(OUTPUT) 
because OUTPUT has been set to $(O)+subdir.

Then, in the sub-make tools/scripts/Makefile.include is called *again* 
and does the same $(O)+subdir resulting in basedir+subdir+subdir.

  reply	other threads:[~2016-04-11  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-10 21:36 TJ
2016-04-11  7:40 ` Andy Shevchenko
2016-04-11  8:35   ` TJ [this message]
2016-04-11  8:45     ` Andy Shevchenko

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=97ba0b17a58368bf68981b46bc0e7804@iam.tj \
    --to=linux@iam.tj \
    --cc=andy.shevchenko@gmail.com \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.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®