From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 17:50:50 2004 Return-Path: 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 4268516A4CE for ; Thu, 11 Mar 2004 17:50:50 -0800 (PST) Received: from gateway.home.ricin.net (cp464173-a.dbsch1.nb.home.nl [212.204.145.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E5043D2D for ; Thu, 11 Mar 2004 17:50:49 -0800 (PST) (envelope-from danny@ricin.com) Received: from workstation.home.ricin.net (workstation.home.ricin.net [172.16.32.66]) by gateway.home.ricin.net (Postfix) with ESMTP id 96A0A24D09 for ; Fri, 12 Mar 2004 02:50:48 +0100 (CET) From: Danny Pansters To: freebsd-questions@freebsd.org Date: Fri, 12 Mar 2004 02:50:48 +0100 User-Agent: KMail/1.6 References: <20040311090126.GA19147@alzatex.com> <20040311183145.GG1378@alzatex.com> <40510622.7020906@geminix.org> In-Reply-To: <40510622.7020906@geminix.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403120250.48376.danny@ricin.com> Subject: Re: Kernel Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: danny@ricin.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 01:50:50 -0000 On Friday 12 March 2004 01:36, Uwe Doering wrote: > Well, as far as the result is concerned, both methods are identical. > However, if you use the step-by-step procedure the object files remain > intact after a kernel build, or at least until you delete them > deliberately. So if you then have to make just a minor patch to one of > the source files, possibly in the course of a security advisory, 'make' > recompiles only the source file that changed. > > With the 'buildkernel' target, on the other hand, a complete kernel > build takes place, that is, it compiles all source files again, > regardless of how small the change you made actually was. This costs > considerably more time. > > That's why the (selectively executed) step-by-step method makes sense > for kernel development work and even the occasional security patch. I'd like to add to this, that if you do a buildworld in between the buildkernel target will build against this new world (tool chain) not against the installed one. Dan