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>

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


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

> Hi all,
> 
> Id like to know what is the proper procedure for rebuilding the FreeBSD
> kernel manually, to force it to to recompile only the 
> 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’ve done a previous ‘make buildkernel’ then you can make changes
and rebuild only the changed bits by adding ‘KERNFAST=XXX’ where
you would have had ‘KERNCONF=XXX’. This will eliminate the config
and clean stages, which will do what you want.

Warner



help

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