Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2004 23:24:50 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        mymuss@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Editing and compiling FreeBSD source
Message-ID:  <20040919.232450.118757898.imp@bsdimp.com>
In-Reply-To: <c1e1c6a504091916341602b881@mail.gmail.com>
References:  <7ea4ce2e54aa7d07618278640e7be260@200.140.233.95> <16715.51219.709030.281400@guru.mired.org> <c1e1c6a504091916341602b881@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <c1e1c6a504091916341602b881@mail.gmail.com>
            Andrew Novikov <mymuss@gmail.com> writes:
: Could someone please explan me the difference between:
: 
: make buildkernel
: make installkernel

If you've done a make buildworld, this should always work, reguardless
of what tools you have installed in the base system.  There are a
number of nobs to make these faster.  This even works accross
different releases (eg, you can build a 5 kernel on a 4 box) most of
the time too.

: config
: cd ../../compile/.....
: make depend
: make
: make install

This uses system tools, so they have to be in sync with the kernel.
This is often more convenient when you are building lots of kernels to
debug some problem in the kernel, but isn't any faster than the above
if you are starting from dirt.

Warner



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