hello, I'm trying to compile a kernel but nothing happens as I want I can compile a new kernel but the installation fails, here is my script :
Code:
cd /usr
cvs -z3 -d anoncvs@anoncvs.netbsd.org:/cvsroot checkout -P -rnetbsd-7 src
cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co -P src
mkdir -p /usr/obj
cd src
# cd /
# tar zxf /path/to/syssrc.tgz
$ cd /usr/src/sys/arch/i386/conf/
$ ls
$ cp GENERIC MYKERNEL
$ vi MYKERNEL
$ config MYKERNEL
$ cd ../compile/MYKERNEL
$ make depend
$ make
$ cd /usr/src
$ ./build.sh kernel=MYKERNEL
Quote:
hpc-raptor# ./build.sh -u kernel=PHIPO03KERNEL
ERROR: usr.bin/make not found; build.sh must be run from the top level of source directory
*** BUILD ABORTED ***
hpc-raptor#
|
# mv /netbsd /netbsd.old
# mv netbsd /