From owner-freebsd-stable Thu Dec 14 13:10:30 2000 From owner-freebsd-stable@FreeBSD.ORG Thu Dec 14 13:10:25 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 84E6737B699 for ; Thu, 14 Dec 2000 13:10:23 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eBELAJs87763; Thu, 14 Dec 2000 14:10:19 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA50431; Thu, 14 Dec 2000 14:10:18 -0700 (MST) Message-Id: <200012142110.OAA50431@harmony.village.org> To: Kal Torak Subject: Re: new kernel build method? Cc: FreeBSD-stable In-reply-to: Your message of "Fri, 15 Dec 2000 05:22:55 +1100." <3A390FFF.CD3370E6@quake.com.au> References: <3A390FFF.CD3370E6@quake.com.au> Date: Thu, 14 Dec 2000 14:10:18 -0700 From: Warner Losh Sender: imp@harmony.village.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3A390FFF.CD3370E6@quake.com.au> Kal Torak writes: : But what is the old method? Is the old method doing: : cd /usr/src/sys/i386/conf : /usr/bin/config KERNEL-NAME : cd ../../compile/KERNEL-NAME : make dep : make : make install : : Are we meant to be doing it from /usr/src using: : make buildkernel KERNEL=KERNEL-NAME : make installkernel KERNEL=KERNEL-NAME If you are upgrading from one version of FreeBSD to another (even on the same branch), you should be useing the new method. If you are building and rebuilding the kernel alot on the same version, then the old way is a little faster. The new method is guaranteed to work in the face of binutil/gcc changes, while the old way won't necessarily work in the face of these things things. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message