Subject: Re: Kernel cross-compiling howto
To: Florian Stoehr <netbsd@wolfnode.de>
From: Jachym Holecek <freza@liberouter.org>
List: netbsd-docs
Date: 12/24/2004 17:08:43
Hi,
> A new kernel config file "MYKERNEL" for sgimips was
> created in the /usr/src/sys/arch/sgimips/conf directory.
>
> Configure the new kernel:
>
> cd /usr/src/sys/arch/sgimips/conf
> /usr/TOOLS/bin/nbconfig MYKERNEL
>
> Now "make depend" the kernel:
>
> cd ../compile
> /usr/TOOLS/bin/nbmake-sgimips depend
>
> Finally, let's make the kernel:
>
> /usr/TOOLS/bin/nbmake-sgimips
$ cd /usr/src
$ ./build.sh -T ../TOOLS -m sgimips kernel=MYKERNEL
would do the same (right) thing.
Regards,
-- Jachym Holecek