From owner-freebsd-stable Mon Jul 10 23:31:21 2000 Delivered-To: freebsd-stable@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1138937BE01; Mon, 10 Jul 2000 23:31:20 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id XAA75940; Mon, 10 Jul 2000 23:31:19 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Mon, 10 Jul 2000 23:31:19 -0700 (PDT) From: Kris Kennaway To: "Chad R. Larson" Cc: Marcel Moolenaar , grog@lemis.com, khera@kciLink.com, stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels In-Reply-To: <200007110609.XAA21530@freeway.dcfinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 10 Jul 2000, Chad R. Larson wrote: > As I recall, Marcel Moolenaar wrote: > > The buildkernel target is designed solely for upgrading and > > cross-compiling purposes. > > That's not what Kris is saying. Actually the "upgrading" bit is precisely what I was saying. It is true that buildkernel won't work in the case when you *haven't* upgraded your sources and haven't built world, and you just want to reconfigure your kernel with different options (because buildkernel relies on /usr/obj containing the required bits from buildworld), so in this case you have to use the old "config; make depend; make all; make install" method. Probably we can come up with something better which does everything - having two methods for the two cases of upgrading and simply recompiling your kernel is a bit confusing - but as things stand now there's no other foolproof way to build your kernels during an upgrade, which is the point I was trying to gte across. But that is off-topic for this mailing list and should be taken up on -arch. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message