Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 10:58:33 -0700
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Peter van Heusden <pvh@egenetics.com>, Brad Knowles <blk@skynet.be>, stable@FreeBSD.ORG
Subject:   Re: HEADS UP! Always use the 'make buildkernel' target to make  yourkernels
Message-ID:  <396CB1C9.D0EE85D4@cup.hp.com>
References:  <Pine.BSF.4.21.0007111324170.27918-100000@fling.sanbi.ac.za> <396B63DD.7A6F4023@cup.hp.com> <20000712125222.L30262@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396CB1C9.D0EE85D4>