From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 20:24:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD03237B401; Mon, 28 Apr 2003 20:24:50 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99EED43FAF; Mon, 28 Apr 2003 20:24:49 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h3T3OmA7085768; Mon, 28 Apr 2003 21:24:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 28 Apr 2003 21:24:44 -0600 (MDT) Message-Id: <20030428.212444.60845673.imp@bsdimp.com> To: marcel@xcllnt.net From: "M. Warner Losh" In-Reply-To: <20030428214221.GA1152@athlon.pn.xcllnt.net> References: <20030426022551.GB29244@athlon.pn.xcllnt.net> <20030428214221.GA1152@athlon.pn.xcllnt.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: New ACPI diffs ready for testing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 03:24:51 -0000 In message: <20030428214221.GA1152@athlon.pn.xcllnt.net> Marcel Moolenaar writes: : On Mon, Apr 28, 2003 at 04:49:35PM -0400, John Baldwin wrote: : > : > On 26-Apr-2003 Marcel Moolenaar wrote: : > > The best way to cross-build is by starting a cross-world, which you : > > then abort after the headers are installed in the object tree. This : > > should leave a usable set of cross-tools you can use for buildkernel. : > : > It would be nice if there was a 'buildtools' target that did just : > enough to allow one to do a buildkernel. Maybe 'buildkerneltools' : > and 'buildworldtools' targets where the latter let you cross-build : > individual libraries or binaries : : Agreed. In multiple cases I just wanted to populate the object tree : and I was forced to start a buildworld. I don't think you need the : headers in the object tree for a kernel build though. : : BTW: If we add these targets, we may want to make sure that targets : like "everything" actually use those bits. I noticed that a make : everything does not do a cross-build. It may be pilot error. I can't : recall. The point is that if you allow people to setup the object : tree for cross-building, people will start to use targets that do : partial builds (ie skip the part of populating the object tree) and : expect those targets to actually do the cross-build. The build : system will grow even more weirdness if we don't do that... For 'complicated' builds like this, I typically just do a make buildworld -DNOCLEAN... 'make everything' traditionally has used host tools... Since this builds < 30 minutes for me, I've not been too motivated to fix things. Warner