> 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
Jeff
-
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/