Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2004 18:44:01 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Editing and compiling FreeBSD source
Message-ID:  <16718.6593.160657.15544@guru.mired.org>
In-Reply-To: <20040919234029.GA6150@odin.ac.hmc.edu>
References:  <7ea4ce2e54aa7d07618278640e7be260@200.140.233.95> <16715.51219.709030.281400@guru.mired.org> <c1e1c6a504091916341602b881@mail.gmail.com> <20040919234029.GA6150@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20040919234029.GA6150@odin.ac.hmc.edu>, Brooks Davis <brooks@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@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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