From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 04:39:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 541F037B401 for ; Mon, 31 Mar 2003 04:39:27 -0800 (PST) Received: from falcon.midgard.homeip.net (h76n3fls20o913.telia.com [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BFD643FA3 for ; Mon, 31 Mar 2003 04:39:25 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 11855 invoked by uid 1001); 31 Mar 2003 12:39:23 -0000 Date: Mon, 31 Mar 2003 14:39:23 +0200 From: Erik Trulsson To: Conrad Sabatier Message-ID: <20030331123923.GA11830@falcon.midgard.homeip.net> Mail-Followup-To: Conrad Sabatier , freebsd-questions@freebsd.org, Paul Hoffman References: <20030331065259.GA10169@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i cc: freebsd-questions@freebsd.org Subject: Re: Smarter 'make buildkernel'? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 12:39:28 -0000 On Mon, Mar 31, 2003 at 06:20:04AM -0600, Conrad Sabatier wrote: > > On 31-Mar-2003 Erik Trulsson wrote: > > On Sun, Mar 30, 2003 at 04:21:57PM -0800, Paul Hoffman wrote: > >> Hi again. Is there a way to get 'make buildkernel' in /usr/src to not > >> rebuild things that it already compiled? I'm playing around on a > >> not-very-fast laptop, and the rebuilds take forever. > > > > 'make -DNOCLEAN buildkernel' should do the trick. > > That should be -DNO_KERNELCLEAN. Either should work fine. As far as I can tell by reading the makefiles the difference is that -DNOCLEAN is for both buildworld and buildkernel, while -DNO_KERNELCLEAN is just for buildkernel, i.e. -DNOCLEAN essentially implies -DNO_KERNELCLEAN. If you are just doing a buildkernel it does not matter which is used. -- Erik Trulsson ertr1013@student.uu.se