Re: Unification of Makefiles for kernel build?

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Tue, 5 Jan 1999 12:17:59 +0000


On Mon, Jan 04, 1999 at 03:01:46AM +0200, Pieter Nagel wrote:
> On Fri, 1 Jan 1999, Alan Mimms wrote:
> > I believe there is much to be gained and little
> > to be lost from transforming the kernel Make infrastructure so that a
> > SINGLE invocation of make is done for the entire build instead of
> > invoking make for each subdirectory.
>
> Good theoretical justification for what you propose can be found in
> <A href="http://www.tip.net.au/~millerp/rmch/recu-make-cons-harm.html">
> Recursive Make Considered Harmful</A>

I can say with confidence that those methods _don't_ work for a project
with 300 directories and 100000 (one hundred thousand) files. It is
also difficult to convert & maintain a project where the implicit rules
are different between directories.

Recursive make is also bad for incremental builds of such large projects.

Looks like a fine idea for the kernel though, which is relatively small
and simple :-)

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/