Subject: Re: Suggested addition to build.sh
To: David Brownlee <abs@netbsd.org>
From: Todd Vierling <tv@wasabisystems.com>
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:

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

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

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/