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

From: Ingo Molnar
Date: Mon Dec 07 2009 - 00:25:31 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

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

Frederic, mind queueing Andi's fix up in your tree and testing it there,
before pushing it to me via the regular route?

Thanks,

Ingo
--
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/