Compiling only "network" part of the kernel

Warren Block wblock at wonkity.com
Tue Dec 27 15:15:57 UTC 2011


On Tue, 27 Dec 2011, Rajneesh Kumar wrote:

> During my development, I want to check if my modules compile successfully
> or not. I am only changing the ARP portion and whenever I compile my
> kernel, it takes around 20mins and compiles all different modules also.
> I just want to compile and check whether my ARP modules, which I have
> changed, compile fine or not. How to do it?

Others have mentioned ways to reduce what is rebuilt.  devel/ccache can 
be used in combination with those.  Even by itself it ought to 
seriously reduce kernel compile time.


More information about the freebsd-net mailing list