From owner-freebsd-net@FreeBSD.ORG Tue Dec 27 15:23:06 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B452106566B for ; Tue, 27 Dec 2011 15:23:06 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5048FC08 for ; Tue, 27 Dec 2011 15:23:05 +0000 (UTC) Received: by werb13 with SMTP id b13so10468749wer.13 for ; Tue, 27 Dec 2011 07:23:04 -0800 (PST) Received: by 10.216.136.75 with SMTP id v53mr15758606wei.42.1324999384803; Tue, 27 Dec 2011 07:23:04 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ep16sm28391659wbb.21.2011.12.27.07.23.03 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 07:23:04 -0800 (PST) Message-ID: <4EF9E2D6.7050705@my.gd> Date: Tue, 27 Dec 2011 16:23:02 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Compiling only "network" part of the kernel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 15:23:06 -0000 On 12/27/11 3:51 PM, Warren Block wrote: > On Tue, 27 Dec 2011, Rajneesh Kumar wrote: > >> During my development, I want to check if my modules compile successfully >> or not. I am only changing the ARP portion and whenever I compile my >> kernel, it takes around 20mins and compiles all different modules also. >> I just want to compile and check whether my ARP modules, which I have >> changed, compile fine or not. How to do it? > > Others have mentioned ways to reduce what is rebuilt. devel/ccache can > be used in combination with those. Even by itself it ought to seriously > reduce kernel compile time. > Hey up Warren, Would ccache also help with world/ports compile times ? Are there any drawbacks to using it ? (the underlying question being: is it worthy of a production environment ?)