Subject: Re: Kernel build
To: None <netbsd-help@netbsd.org, ed@overminder.com>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-help
Date: 10/14/2003 00:36:57
In article <200310131623.10564.ed@overminder.com> you wrote:
> NetBSD 1.6.x
>
> # cd /usr/src/sys/arch/i386/conf
I'd add:
cp GENERIC MYKERNEL
vi MYKERNEL
if you're writing some sort of user documentation...
> # config MYKERNEL
> # cd ../compile/MYKERNEL
> # make clean
> # make depend
> # make
> # cp /netbsd /netbsd.old
> # cp netbsd /netbsd
looks ok to me.
> NetBSD 2.0
>
> # cd /usr/src
> # ./build.sh kernel=MYKERNEL
> # cp /netbsd /netbsd.old
> # cp sys/arch/i386/compile/MYKERNEL/netbsd /
You can use the same as above. If you use build.sh, it'll place
the kernel in .../compile/obj.something/MYKERNEL/netbsd.
- Hubert
--
___ _ _ _ _ * Harddisk Image Cloning *
/ __| | || | | | www.feyrer.de/g4u/
| (_ |_ _| |_| |
\___| |_| \___/ v1.12 out now, including partition support!