About compiling a new kernel steps
Nadow
el.nadow at gmail.com
Thu Oct 12 16:48:04 UTC 2006
Hi, in the handbook Chapter 8 Configuring the FreeBSD Kernel, part 8.3 it
says
1.
Run config(8)<http://www.freebsd.org/cgi/man.cgi?query=config&sektion=8>to
generate the kernel source code.
# /usr/sbin/config *MYKERNEL*
2.
Change into the build directory.
config(8)<http://www.freebsd.org/cgi/man.cgi?query=config&sektion=8>will
print the name of this directory after being run as above.
# cd ../compile/*MYKERNEL*
For FreeBSD versions prior to 5.0, use the following form instead:
# cd ../../compile/*MYKERNEL*
3.
Compile the kernel.
# make depend
# make
4.
Install the new kernel.
# make install
------------------------------------
But When I do
# /usr/sbin/config *MYKERNEL
*
The system reminds me to do "make clean depend" before "make depend"
but in the third step of the handbook
"make clean depend" doesnt appear. I know it works in both ways but I
would like to know if it is not better to include
the command just in case.
Regards
Nadow
More information about the freebsd-doc
mailing list