Subject: Re: Unable to build GENERIC
To: None <port-sparc@netbsd.org>
From: Wouter Klouwen <dublet@dublet.org>
List: port-sparc
Date: 09/01/2004 18:15:35
Chris Amthor(amthor@chroam.de) said 2004.09.01 18:07:01 +0000:
> Wouter Klouwen <dublet@dublet.org> wrote:
> > http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel
> 
> > What you want is:
> > 	# build.sh tools kernel=GENERIC
> 
> Umh, did I miss something? Is this some kind of workaround for a
> broken build system in current or did this really change from earlier
> releases such 1.6.x?

Yes, you did miss something. It's even there in 1.6.1.
It is just to make life easier. You simply edit a kernel config file, and
let build.sh do all the work. 

What it does it build a new toolchain, which frequently contains a new, 
shiny, version of `config' which can parse things the old version couldn't. 
It is basically to work-around out-of-sync source tree and userland.

> I used to 'config' my kernel and then just 'make' it after building
> the dependency tree in the compile directory...

As a I said. This works if your source tree and userland are in-sync,
otherwise things like config will fail. 

> cheers,
> \end{kryz}
! LaTeX Error: \begin{document} ended by \end{kryz}.

	--Wouter