From owner-freebsd-questions Tue Oct 1 14:11:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1D8737B401 for ; Tue, 1 Oct 2002 14:11:12 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4963243E6A for ; Tue, 1 Oct 2002 14:11:12 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016; Tue, 01 Oct 2002 14:11:11 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 9EFF75D06; Tue, 1 Oct 2002 14:11:10 -0700 (PDT) To: John Mills Cc: "Gary W. Swearingen" , Giorgos Keramidas , FreeBSD-questions Subject: Re: Q: continuing interrupted 'make buildworld' In-reply-to: Your message of "Tue, 01 Oct 2002 17:03:31 EDT." Date: Tue, 01 Oct 2002 14:11:10 -0700 From: "Kevin Oberman" Message-Id: <20021001211110.9EFF75D06@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Tue, 1 Oct 2002 17:03:31 -0400 (EDT) > From: John Mills > 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