Subject: Re: checking out just a kernel...
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 11/09/2005 23:24:48
On Wed, 09 Nov 2005 08:31:50 -0800
"Garrett D'Amore" <garrett_damore@tadpole.com> wrote:

> Is there a way to check out *just* a NetBSD kernel and the minimum 
> toolset required to build it?
> 
> I have a toolset already installed, but build.sh looks like it
> searches usr.bin/make and also needs share/mk.
> 
> I'm wondering, has anyone else tried to find out the minimum set
> needed to work on just the kernel?  (Updating, tagging, and such on
> the entire netbsd over a WAN link is really painful.  And yes, I'm
> working from a local copy of the tree.)
> 
> The web pages at least that refer to building just a kernel need to
> be updated to include a reference to build.sh and any other bits that
> have to been in the source tree to do just kernel builds.
 
I use cvsup for source tree updates and there you can easly state what
parts of the source you want to check out - netbsd-syssrc for just
kernel distribution. 
My supfile can be found at
http://www.yazzy.org/configs/netbsd/supfile I have a simple shell
script I run from /usr/local/sbin/ to cvsup
http://www.yazzy.org/configs/netbsd/cvsrun

Cheers,
Marcin