From: tytso@ATHENA.MIT.EDU (Theodore Ts'o) Subject: Re: Patch to 0.97PL2 to reduce unnecessary compiles during a build Date: Tue, 1 Sep 1992 17:20:53 GMT
From: bob@cheetah.inmos.co.uk (Bob Green)
Date: Tue, 1 Sep 1992 07:31:18 GMT
wouldn't it be simpler to make use of the various targets defined in the
Makefile ? I use
make Image
to do what you want, ie. just recompile the bits that have actually changed,
and
make
to increment the version and rebuild everything. Works OK for me.
Yes, but I want the version number to increment each time I relink the
kernel, so I can distinguish between different versions of the kernel.
With my patches, the version number can get bumped each time, _and_ you
avoid unnecessarily recompiling files that don't need to be recompiled.
Those patches also include information about who built the kernel and on
which machine, which is useful if you're trying to figure out the
geneology of a particular kernel.
- Ted