Re: [PATCH] out-of-tree builds

From: Geert Uytterhoeven
Date: Mon Mar 22 2004 - 17:15:38 EST


On Mon, 15 Mar 2004, Sam Ravnborg wrote:
> 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.

I know. But I make it that way because that's how people are used to configure
for out-of-tree builds with autoconf.

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

Let's see what other people think ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/