[lkml]   [2001]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] 2.4.11-pre4 remove spurious kernel recompiles
On Sun, 7 Oct 2001, Andrea Arcangeli wrote:

> On Sun, Oct 07, 2001 at 08:25:42PM +1000, Keith Owens wrote:
> > in the top level Makefile forces a recompile of the entire kernel, for
> > no good reason.
> this is a matter of taste but personally I believe that at least
> theorically recompiling the whole kernel if I add -g to CFLAGS, or if I
> change the EXTRAVERSION have lots of sense.

Correct. I am amazed Keith missed this... changing data in Makefile
can certainly affect the entire kernel compile, so it makes sense to
recompile the entire kernel when it changes.

If we want to change this, one must isolate the specific changes which
cause the entire kernel (or just init/main.c) to be recompiled, and
put those in a separate file.

> OTOH at the moment I
> wouldn't trust the buildsystem anyways, so I'd run a `make distclean`
> anyways in those cases :).

ditto :) my kbuild script looks basically like:

make distclean && cp <kconfig dir>/rum .config && make oldconfig &&
make oldconfig && make -j3 dep && make -j3 && make modules && make boot


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:04    [W:0.062 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site