From owner-cvs-all Fri Apr 26 21:24:35 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 648D037B41D for ; Fri, 26 Apr 2002 21:24:25 -0700 (PDT) Received: (qmail 9777 invoked from network); 27 Apr 2002 04:24:19 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Apr 2002 04:24:19 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3R4OIv16703; Sat, 27 Apr 2002 00:24:18 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020427033118.GA583@athlon.pn.xcllnt.net> Date: Sat, 27 Apr 2002 00:23:32 -0400 (EDT) From: John Baldwin To: Marcel Moolenaar Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/ Cc: ru@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Makoto Matsushita Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Apr-2002 Marcel Moolenaar wrote: > On Fri, Apr 26, 2002 at 11:10:22PM -0400, John Baldwin wrote: >> >> distribute stuff already uses what is in /usr/obj, so it would just simply >> involve adding an extra buildworld after the world. I would actually prefer >> that as it still preserves the "clean room" atmosphere that a release is >> supposed to have. > > How would this work for a cross-release? The bits in /usr/obj may not > be for the architecture you're building the release on. The cross-release kind of would work like this: 1. You start off with matching src/ and obj/ like we do now. 2. You install that obj/ into the chroot. 3. You do a non-cross make world in the chroot like we do now. 4. What we do next is do all the make distribute stuff using what is in /usr/obj in the chroot. We do step 3 to try to get "clean room" binaries to use in stage 4. Now for a cross-release we need to make sure the binaries in /usr/obj in the chroot are cross-built binaries. Ruslan's current approach is to do this by make step 3 be a cross-buildworld instead of a full world. This means, then, that any tools for the new world you need for 4 need to be built as build-tools or cross-tools or the like. What I'm suggesting is instead to insert a step at 3.5 to do a cross-build world and then we still have the right tools installed and don't have to worry about using the right build/cross tools for the release scripts. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message