Re: [PATCH] out-of-tree builds

From: Sam Ravnborg
Date: Mon Mar 15 2004 - 13:04:37 EST


On Sun, Mar 14, 2004 at 01:58:36PM +0100, Geert Uytterhoeven wrote:
>
> Although I like the feature to build a kernel in a different directory a lot, I
> don't like its syntax. I prefer to just have a build directory where I can run
> `make whatever'.
>
> The following patch adds a configure script to the kernel. If you run
>
> /path/to/kernel/source/tree/configure
>
> it will create a Makefile in the current directory, after which you can just do
> `make whatever', just like in the source directory.
>
> The configure script contains a simple protection for when run in the source
> directory, but this may be approved (I'm not a configure script guru).
>
> Comments?

I like the general idea.
I'm in doubt that configure is the best name, because no actual
configuration takes place.

But I want to finish the external modules stuff before introducing
more features. So it will wait until then.

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/