From owner-freebsd-net@FreeBSD.ORG Tue Dec 27 15:15:57 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 DE43C106564A for ; Tue, 27 Dec 2011 15:15:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2678FC0A for ; Tue, 27 Dec 2011 15:15:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBREp1js034541; Tue, 27 Dec 2011 07:51:01 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBREp1XY034538; Tue, 27 Dec 2011 07:51:01 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 27 Dec 2011 07:51:01 -0700 (MST) From: Warren Block To: Rajneesh Kumar In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 27 Dec 2011 07:51:01 -0700 (MST) Cc: freebsd-net@freebsd.org 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:15:57 -0000 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.