Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 10:37:10 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Vivek Khera <khera@kciLink.com>
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels
Message-ID:  <20000711103710.B21954@wantadilla.lemis.com>
In-Reply-To: <14697.55301.614418.390096@onceler.kcilink.com>
References:  <Pine.BSF.4.21.0007092043510.33246-100000@freefall.freebsd.org> <14697.55301.614418.390096@onceler.kcilink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 10 July 2000 at 10:04:53 -0400, Vivek Khera wrote:
>>>>>> "KK" == Kris Kennaway <kris@FreeBSD.org> writes:
>
> KK> Subject basically says it all. "make buildkernel KERNEL=<whatever>" and
> KK> "make installkernel KERNEL=<whatever>" (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




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