[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VdS32vua0h-K3zZ3=jMhg7KwJUgS490kP4DCsRJJ_OTSw@mail.gmail.com>
Date: Mon, 11 Apr 2016 11:45:14 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: TJ <linux@....tj>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
David Howells <dhowells@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: Bug 116131: tools/perf and O= fails to build
On Mon, Apr 11, 2016 at 11:35 AM, TJ <linux@....tj> wrote:
>
> On 11-04-2016 08:40, Andy Shevchenko wrote:
>>
>> On Mon, Apr 11, 2016 at 12:36 AM, TJ <linux@....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.
Didn't remember if my case was the same, but as workaround I can
propose you to build in a dedicated worktree.
% git worktree add ../perf-test my_current_branch
% cd ../perf-test
% make (no O= provided) bla-bla-bla
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists