Re: how to configure/build a kernel in a separate directory?

From: Sam Ravnborg
Date: Mon Jun 07 2004 - 16:34:12 EST


On Mon, Jun 07, 2004 at 05:00:26PM -0400, Robert P. J. Day wrote:
>
> (i originally posted this to the "make" mailing list, but i figured
> someone here *must* have done this before.)
>
> is there an easy way to configure/build one or both of a 2.4 and 2.6
> kernel in a totally separate directory from the source directory itself?

For 2.4 you are out of luck. At least I do not know of any patch that
should allow you to do that with current 2.4 kernel.

For 2.6 you just use (executed in root of kernel src):

make O=dir/to/put/output target

Se make help + README for a bit more info.

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