View Single Post
  #1   (View Single Post)  
Old 2nd December 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default [Solved] compile a kernel

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 /

Last edited by philo_neo71; 4th December 2017 at 10:09 PM.
Reply With Quote