On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote:
> On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote:
> > * Jiangyi Liu <[EMAIL PROTECTED]> [010601 20:25] wrote:
> > > Hi all,
> > > 
> > > After just changing a little in sys/kern/kern_sig.c, how can I rebuild
> > > the kernel fast? I think it should not take such a long time as 'make
> > > buildkernel' does. Anyway, just kern_sig.c need to be recompiled and
> > > the kernel can be linked. So how do you guys do in such case?
> > 
> > try:
> > make buildkernel -DNOCLEAN
> 
> And if you've really only changed kern_sig.c, add -DMODULES_WITH_WORLD, too.
> This will cut down the kernel compile time to the dependencies' and set
> generation (which cannot be avoided in any sane build), and then compiling
> only 4-5 files.

or -DNO_MODULES, as it's usually spelled when only doing a kernel compile :-)

Kris

PGP signature

Reply via email to