From owner-freebsd-stable Wed Jul 12 10:58:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 24B7A37BF1B for ; Wed, 12 Jul 2000 10:58:35 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 0F1D039A; Wed, 12 Jul 2000 10:58:34 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id KAA20786; Wed, 12 Jul 2000 10:58:33 -0700 (PDT) Message-ID: <396CB1C9.D0EE85D4@cup.hp.com> Date: Wed, 12 Jul 2000 10:58:33 -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: Peter van Heusden , Brad Knowles , stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yourkernels References: <396B63DD.7A6F4023@cup.hp.com> <20000712125222.L30262@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: > > >> so, the kernels built are defined by KERNEL - there is no > >> default. > > > > The default is GENERIC. > > It should be easy enough to extract a more likely default from uname > -v. Yes. The reason for GENERIC is simply because that's a kernel config that works with the sources. It also works better when cross-building and uname doesn't (in general) present us with a usable name for the architecture we're building for (except of course when it's GENERIC). A user-supplied kernel config may not work (due to changes in the source tree; or simply because we have changed our config tool). For upgrading purposes, it's therefore safer to use GENERIC. A knowledgable user can override this default (/etc/make.conf) and should know that any build and/or boot problems are therefore his/her own responsibility. -- 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