Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 22:00:39 -0700
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Vivek Khera <khera@kciLink.com>, Kris Kennaway <kris@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: HEADS UP! Always use the 'make buildkernel' target to make yer  kernels
Message-ID:  <396AA9F7.264ACB5A@cup.hp.com>
References:  <Pine.BSF.4.21.0007092043510.33246-100000@freefall.freebsd.org> <14697.55301.614418.390096@onceler.kcilink.com> <20000711103710.B21954@wantadilla.lemis.com>

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




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