Subject: Re: Suggested addition to
To: David Brownlee <>
From: Todd Vierling <>
List: tech-toolchain
Date: 04/12/2002 08:35:21
On Fri, 12 Apr 2002, David Brownlee wrote:

: 	How about an option to build a generic kernel into $DESTDIR?
: 	(Standard warnings about installing into /)
: 	It could be used on its own, or as part of a -d build.

Problem is that many ports don't have a "GENERIC".  :)

Basically, to build a kernel as part of upgrading to -current by source:

./ -t [-T $TOOLDIR]
cd sys/arch/$MACHINE/conf
$TOOLDIR/bin/nbmake-$MACHINE all

This corresponds to established practice for building a custom kernel; it
just uses the cross-toolchain created by " -t".

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --