From owner-freebsd-stable Mon Jul 10 18: 7:33 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id A4A0B37BA12; Mon, 10 Jul 2000 18:07:25 -0700 (PDT) (envelope-from grog@wantadilla.lemis.com) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id KAA22241; Tue, 11 Jul 2000 10:37:10 +0930 (CST) (envelope-from grog) Date: Tue, 11 Jul 2000 10:37:10 +0930 From: Greg Lehey To: Vivek Khera Cc: Kris Kennaway , stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels Message-ID: <20000711103710.B21954@wantadilla.lemis.com> References: <14697.55301.614418.390096@onceler.kcilink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <14697.55301.614418.390096@onceler.kcilink.com> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 10 July 2000 at 10:04:53 -0400, Vivek Khera wrote: >>>>>> "KK" == Kris Kennaway writes: > > KK> Subject basically says it all. "make buildkernel KERNEL=" and > KK> "make installkernel KERNEL=" (or set KERNEL in /etc/make.conf or > KK> the environment, where KERNEL is the name of the kernel to build (GENERIC, > KK> etc)) are what you should always be using to build your kernels, unless > KK> you know what you're doing. > > So you're saying that even after upgrading from 3.4 to 4.0 you should > use make buildkernel? That seems counter to what has been discussed > before, and is way non-BSD-ish. Agreed. I tried it out and found a number of things I didn't like about it. Basically, it's a completely different build process: 1. Before building, it removes the existing kernel build tree. There's no good reason for this. 2. It builds in a different tree (/usr/obj instead of /usr/src/sys/compile). These two points mean that if you later want to go back and tune your kernel (change a driver parameter, say), you can't just do a config; cd ../../compile/FOO; make, you have to go the whole nine yards. 3. It gives the kernel a different name. 4. It's just plain clumsy. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message