Re: [PATCH] [1/2] perf: Make location of kernel source configurable

From: Frederic Weisbecker
Date: Sun Dec 06 2009 - 20:34:00 EST


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@xxxxxxxxxxxxxxx>


It worry about that too.

Acked-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/