Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 14:11:10 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        John Mills <john.m.mills@alum.mit.edu>
Cc:        "Gary W. Swearingen" <swear@attbi.com>, Giorgos Keramidas <keramida@ceid.upatras.gr>, FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Q: continuing interrupted 'make buildworld' 
Message-ID:  <20021001211110.9EFF75D06@ptavv.es.net>
In-Reply-To: Your message of "Tue, 01 Oct 2002 17:03:31 EDT." <Pine.LNX.4.21.0210011659120.5173-100000@otter.mills-atl.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 1 Oct 2002 17:03:31 -0400 (EDT)
> From: John Mills <jmmills@telocity.com>
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> 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: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001211110.9EFF75D06>