Rebuilding the kernel
Warner Losh
imp at bsdimp.com
Thu Mar 27 17:22:52 UTC 2014
On Mar 27, 2014, at 11:15 AM, dan_partelly <dan_partelly at 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
More information about the freebsd-drivers
mailing list