Editing and compiling FreeBSD source

Mike Meyer mwm at mired.org
Sun Sep 19 16:55:25 PDT 2004


In <20040919234029.GA6150 at odin.ac.hmc.edu>, Brooks Davis <brooks at one-eyed-alien.net> typed:
> [Please don't top post, it loses context.]
> 
> On Mon, Sep 20, 2004 at 02:34:12AM +0300, Andrew Novikov wrote:
> > Hi,
> > 
> > Could someone please explan me the difference between:
> > 
> > make buildkernel
> > make installkernel
> 
> This uses the tool chain build by buildworld.  This may be required if
> config or the compiler version change.  It should always work.
> 
> > config
> > cd ../../compile/.....
> > make depend
> > make
> > make install
> 
> This uses the installed toolchain.  It's faster and allows you to only
> do that part you need, but may not work.

To be more specific, the only time it won't work is when you've
upgraded the system. If the sources you're working on have been
installed and all you've done is tweaked the kernel, it'll always
work. Better yet, you can skip some of the steps depending on how
you've tweaked the kernel, resulting in much faster build times.

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list