> Date: Tue, 1 Oct 2002 17:03:31 -0400 (EDT) > From: John Mills <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > Gary - > > On 1 Oct 2002, Gary W. Swearingen wrote: > > > IIRC, when I've done "make buildkernel" (maybe "buildworld") a second > > time (eg, to do benchmarks with two BIOS settings), the thing rebuilt > > the whole kernel again. I've always wondered why. I thought "make" > > was supposed to use old files when possible. > > I suspect the target 'buildworld' has as a condition the target 'clean' or > something similar. I started looking for the target definitions, but > didn't find them.
Look in .usr/src/Makefile.inc1 It's actually rather more complicated that just having clean as a dependency for buildworld/buildkernel. The idea is maximum safety and building something with the complexity of the operating system without knowledge of the state of EVERYTHING in the build is more dangerous, si the default for building wither the kernel or the world is to clean most everything up before starting. Just some honest paranoia. It's really ugly to build a new OS and discover that some stuff won't work. (Try living with a bad libc.) A corrupt kernel is even worse. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message