Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 14:30:14 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-drivers@freebsd.org
Cc:        Bharma Ji <bharmaji@gmail.com>
Subject:   Re: How to build only the modified in the driver.
Message-ID:  <200510181430.15508.jhb@freebsd.org>
In-Reply-To: <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com>
References:  <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510181430.15508.jhb>