Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2002 00:23:32 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        ru@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Makoto Matsushita <matusita@jp.FreeBSD.org>
Subject:   Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/
Message-ID:  <XFMail.20020427002332.jhb@FreeBSD.org>
In-Reply-To: <20020427033118.GA583@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020427002332.jhb>