Re: HOWTO build modules in 2.6.0 ...

From: John Levon
Date: Tue Nov 18 2003 - 08:40:45 EST


On Tue, Nov 18, 2003 at 06:50:07AM +0100, Sam Ravnborg wrote:

> > This requires a kernel source tree empty of built files though, so it's
> > really not a great solution ...
>
> Correct - but why keep kernel trees around full of build files, when
> there is a proper solution to keep them out of the src.

Because people *will* have build trees that are in the source directory.
You're effectively requiring everybody to rebuild their kernel using
some new syntax the first time they want to compile an external module.

External modules were compilable fine (if somewhat clumsily) in 2.4
without any special setup; it's a pity that 2.6 regresses in this given
how superior the build system is in every other way.

> It can be avoided, but that required too much surgery in various
> makefiles and include statements. So that part is 2.7 material.

Would allowing non-O= builds to work again be 2.7 too ? It worked up
until very recently.

regards
john

--
Khendon's Law:
If the same point is made twice by the same person, the thread is over.
-
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/