Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel

From: Keith Owens (kaos@ocs.com.au)
Date: Fri May 03 2002 - 05:42:04 EST


On 3 May 2002 10:06:04 GMT,
Gerd Knorr <kraxel@bytesex.org> wrote:
>> Do it with NO_MAKEFILE_GEN=1 for much, much! faster builds.
>
>What exactly is the reason for this hack, i.e. why kbuild wants to
>rebuild the Makefiles every time? Isn't it enougth to do that only
>if .config has been touched?

Or any of the Makefile.in files have changed. Or any of the command
line options have changed. Or various environment variables have
changed. Or a target file has been altered outside kbuild control.
Or the compiler has changed. Or ... the list goes on.

Coding a special case to work out if the existing global makefile can
be reused is horribly error prone. And it would take just as long as
rebuilding the global makefile from scratch.

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



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:19 EST