From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 23:51:44 2004 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 E7D2016A4CF for ; Fri, 2 Jul 2004 23:51:44 +0000 (GMT) Received: from lakermmtao11.cox.net (lakermmtao11.cox.net [68.230.240.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 616F743D2D for ; Fri, 2 Jul 2004 23:51:44 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.localnet.net ([68.11.71.51]) by lakermmtao11.cox.net ESMTP <20040702235143.LLZH25349.lakermmtao11.cox.net@dolphin.localnet.net>; Fri, 2 Jul 2004 19:51:43 -0400 Received: from dolphin.localnet.net (localhost.localnet.net [127.0.0.1]) i62NphYK043248; Fri, 2 Jul 2004 18:51:43 -0500 (CDT) (envelope-from conrads@dolphin.localnet.net) Received: (from conrads@localhost) by dolphin.localnet.net (8.12.11/8.12.11/Submit) id i62Npg8X043247; Fri, 2 Jul 2004 18:51:42 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040701225452.GA16898@lori.mine.nu> Date: Fri, 02 Jul 2004 18:51:42 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Geert Hendrickx cc: freebsd-questions@freebsd.org Subject: Re: make buildworld: build changes only? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 23:51:45 -0000 On 01-Jul-2004 Geert Hendrickx wrote: > Hi, > > I'm keeping track of -STABLE on semi-regular basis. But when I cvsup > to the latest sources and do make buildworld, it always starts to > rebuild the world entirely from scratch. That's somewhat frustrating, > especially if cvsup showed only a screenful of changes. > > Is it possible to rebuild these changes only? I know I could cd to > the directory of each changed file and do a make install there, but > that is of course not quite practical. I suppose this could be > automated, since this was exactly the design principle of make: > rebuild changed sources only. make -DNOCLEAN buildworld See /usr/src/Makefile.inc1 for all the various switches that are available. You may want to set some of them permanently in /etc/make.conf. Just do be aware that doing this can lead to trouble sometimes. -- Conrad J. Sabatier -- "In Unix veritas"