Subject: Re: Config Generic
To: Dave Uhring <duhring@charter.net>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 02/04/2003 08:26:59
On Tue, 4 Feb 2003, Dave Uhring wrote:

> You need to build your tools first.
>
> http://netbsd.org/Documentation/current/
>
> Updating an existing system (top)
>
>     This involves building and installing a new kernel first, then updating
> the userland to match. If you have any problems, see the UPDATING file.
>
>         * Build the toolchain.
>           From the root of the source tree, run './build.sh -t'. This will
> build a toolchain in tools/obj/tools.<hostplatform>/bin.
>         * Build and install the kernel.
>               o cd sys/arch/ARCH/conf
>               o .../tools/obj/tools.<hostplatform>/bin/nbconfig GENERIC
>               o cd ../compile/GENERIC
>               o .../tools/obj/tools.<hostplatform>/bin/nbmake-ARCH
>         o make install (this will rename /netbsd to /onetbsd and install the
> new kernel as /netbsd).
>         * Reboot into the new kernel
>   * Run ./build.sh

That's out-of-date already. To build the tools and GENERIC kernel,
it's more like

	./build.sh tools
	./build.sh kernel=GENERIC

Frederick