From owner-freebsd-stable Mon Jul 10 22: 1: 8 2000 Delivered-To: freebsd-stable@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 0703A37BC9A; Mon, 10 Jul 2000 22:00:45 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 83EDA302; Mon, 10 Jul 2000 22:00:40 -0700 (PDT) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id WAA10971; Mon, 10 Jul 2000 22:00:38 -0700 (PDT) Message-ID: <396AA9F7.264ACB5A@cup.hp.com> Date: Mon, 10 Jul 2000 22:00:39 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: Vivek Khera , Kris Kennaway , stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels References: <14697.55301.614418.390096@onceler.kcilink.com> <20000711103710.B21954@wantadilla.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > 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. The buildkernel target is modelled after a buildworld. > 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. The buildkernel target is designed solely for upgrading and cross-compiling purposes. > 3. It gives the kernel a different name. IIRC, this was to allow multiple kernel to be installed. > 4. It's just plain clumsy. There was to little time... I think the buildkernel and installkernel have been "promoted" to a function they are not designed for. I don't think these targets are fit to be "the only supported" targets and should not be advocated nor evaluated as such. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message