How to build only the modified in the driver.

John Baldwin jhb at freebsd.org
Tue Oct 18 11:30:23 PDT 2005


On Tuesday 18 October 2005 02:10 pm, Bharma Ji wrote:
> When I do make buildkernel conf=<my conf file>, the entire kernel seems to
> be built. Is there a way to build only the driver files that have been
> modified? I have also tried make buildkernel conf = GENERIC and modified a
> random file in one of the drivers. The entire kernel still gets built.
> Thanks for any answers

Use NO_KERNELCLEAN=yes.  You may also be able to use NO_KERNELCONFIG=yes and 
NO_KERNELDEPEND=yes to speed up things in certain cases as well.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-drivers mailing list