From owner-freebsd-drivers@FreeBSD.ORG Tue Oct 18 18:30:22 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4E4D16A423 for ; Tue, 18 Oct 2005 18:30:22 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E60943D75 for ; Tue, 18 Oct 2005 18:30:13 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 18 Oct 2005 14:46:40 -0400 From: John Baldwin To: freebsd-drivers@freebsd.org Date: Tue, 18 Oct 2005 14:30:14 -0400 User-Agent: KMail/1.8.2 References: <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com> In-Reply-To: <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510181430.15508.jhb@freebsd.org> Cc: Bharma Ji Subject: Re: How to build only the modified in the driver. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 18:30:23 -0000 On Tuesday 18 October 2005 02:10 pm, Bharma Ji wrote: > When I do make buildkernel conf=, 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org