lkml.org 
[lkml]   [2009]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [1/2] perf: Make location of kernel source configurable
On Sun, Dec 06, 2009 at 03:07:30PM +0100, Andi Kleen wrote:
>
> tools/perf has no support for separate object directories
> and lots of hard coded paths assuming that the kernel source
> is always in ../..
>
> As a first step of compiling it separately without messing
> up clean source trees allow to configure the kernel source
> location using a KERNELSRC variable
>
> This allows at least to copy the whole tools/perf
> directory elsewhere and build it separately.
>
> The default is still ../.., so for a standard build
> nothing changes
>
> This also removes a lot of ugly ../.. from the source.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>


It worry about that too.

Acked-by: Frederic Weisbecker <fweisbec@gmail.com>



\
 
 \ /
  Last update: 2009-12-07 02:37    [W:0.088 / U:37.320 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site