Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2006 18:46:09 +0200
From:      Nadow <el.nadow@gmail.com>
To:        doc@FreeBSD.org
Subject:   About compiling a new kernel steps
Message-ID:  <bf79ce230610120946v6d481630x47abbb0058557e6f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf79ce230610120946v6d481630x47abbb0058557e6f>