How to build only the modified in the driver.

M. Warner Losh imp at bsdimp.com
Tue Oct 18 11:36:42 PDT 2005


In message: <67beabb0510181110s75928f6ah3825dff282da0f88 at mail.gmail.com>
            Bharma Ji <bharmaji at gmail.com> writes:
: 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.

Yes.  make -DNO_KERNCLEAN will do that.  make -DNO_KERNDEPEND and
-DNO_KERNCONFIG may also be useful.

Warner


More information about the freebsd-drivers mailing list