From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 14:42:23 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 B4F0E37B401; Mon, 28 Apr 2003 14:42:23 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BB1943FAF; Mon, 28 Apr 2003 14:42:22 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h3SLgMwk043174; Mon, 28 Apr 2003 14:42:22 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h3SLgLVj001232; Mon, 28 Apr 2003 14:42:21 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h3SLgL2P001231; Mon, 28 Apr 2003 14:42:21 -0700 (PDT) Date: Mon, 28 Apr 2003 14:42:21 -0700 From: Marcel Moolenaar To: John Baldwin Message-ID: <20030428214221.GA1152@athlon.pn.xcllnt.net> References: <20030426022551.GB29244@athlon.pn.xcllnt.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: ru@FreeBSD.org 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: Mon, 28 Apr 2003 21:42:24 -0000 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... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net