Kernel Questions
Danny Pansters
danny at ricin.com
Thu Mar 11 17:50:50 PST 2004
On Friday 12 March 2004 01:36, Uwe Doering wrote:
> Well, as far as the result is concerned, both methods are identical.
> However, if you use the step-by-step procedure the object files remain
> intact after a kernel build, or at least until you delete them
> deliberately. So if you then have to make just a minor patch to one of
> the source files, possibly in the course of a security advisory, 'make'
> recompiles only the source file that changed.
>
> With the 'buildkernel' target, on the other hand, a complete kernel
> build takes place, that is, it compiles all source files again,
> regardless of how small the change you made actually was. This costs
> considerably more time.
>
> That's why the (selectively executed) step-by-step method makes sense
> for kernel development work and even the occasional security patch.
I'd like to add to this, that if you do a buildworld in between the
buildkernel target will build against this new world (tool chain) not against
the installed one.
Dan
More information about the freebsd-questions
mailing list