build kernel when hack on it

Hi,

Every time I add some printf()s to the kernel source and build it. The building system(cd /usr/src && make buildkern KERNCONF=...) will build the whole kernel.(clean all the objects in /usr/obj and rebuild all the objects)

Is there a way to build only file(s) what I've edited just like Linux's Kbuild does?

Thanks!
 
Back
Top