From owner-freebsd-stable Tue Nov 6 16:56:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 489C937B418 for ; Tue, 6 Nov 2001 16:56:20 -0800 (PST) Received: (from marcel@localhost) by kayak.xcllnt.net (8.11.6/8.11.4) id fA70sOb07294; Tue, 6 Nov 2001 16:54:24 -0800 (PST) (envelope-from marcel) Date: Tue, 6 Nov 2001 16:54:24 -0800 From: Marcel Moolenaar To: Matthew Whelan Cc: cjclark@alum.mit.edu, Larry Rosenman , freebsd-stable@FreeBSD.ORG Subject: Removing /usr/obj Message-ID: <20011106165424.B7262@kayak.xcllnt.net> References: <200111062357.fA6NvMQ07166@kayak.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111062357.fA6NvMQ07166@kayak.xcllnt.net> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 06, 2001 at 11:57:21PM -0000, Matthew Whelan wrote: > >The Handbook has long said, > > > > 19.4.5 Remove /usr/obj > > > > [snip] > > > > You can speed up the ``make world'' process, and possibly save > > yourself some dependency headaches by removing this directory as > > well. > > Given that the rm -r is claimed to be both faster and safer, what's the > rationale behind the Makefile doing it the long-winded way? Correctness. The make buildworld and make buildkernel targets have been designed for crossbuilding and hence upgrading. Especially in the context of upgrading, you want a process that chooses safety over performance. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message