Quote:
$ config MYKERNEL
$ cd ../compile/MYKERNEL
$ make depend
$ make
|
After make successfully runs, you should have /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd.
netbsd is the kernel. As root you can rename the old kernel, as a backup, and copy the new kernel into the root directory.
# mv /netbsd /netbsd.old
# cp /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd /netbsd
See
Compiling the kernel