Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 11:22:49 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        dan_partelly <dan_partelly@rdsor.ro>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Rebuilding the kernel
Message-ID:  <28030113-7736-474C-97A8-1461100B2DF6@bsdimp.com>
In-Reply-To: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro>
References:  <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 27, 2014, at 11:15 AM, dan_partelly <dan_partelly@rdsor.ro> =
wrote:

> Hi all,
>=20
> Id like to know what is the proper procedure for rebuilding the =
FreeBSD
> kernel manually, to force it to to recompile only the=20
> changed files and dependencies and then link the beast, and not a full
> build with make buildkernel. Also, is there a place where
> the system makefiles and the manual procedures for buidling the =
kernel,
> crosscompile, etc are documented ?

If you=92ve done a previous =91make buildkernel=92 then you can make =
changes
and rebuild only the changed bits by adding =91KERNFAST=3DXXX=92 where
you would have had =91KERNCONF=3DXXX=92. This will eliminate the config
and clean stages, which will do what you want.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28030113-7736-474C-97A8-1461100B2DF6>