From owner-freebsd-stable@FreeBSD.ORG Tue Apr 28 09:58:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E337D1065670 for ; Tue, 28 Apr 2009 09:58:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id 767488FC08 for ; Tue, 28 Apr 2009 09:58:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n3S9vxmN008143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Apr 2009 19:58:02 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n3S9vxit089297; Tue, 28 Apr 2009 19:57:59 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n3S9vvPL089296; Tue, 28 Apr 2009 19:57:57 +1000 (EST) (envelope-from peter) Date: Tue, 28 Apr 2009 19:57:57 +1000 From: Peter Jeremy To: Dominic Fandrey Message-ID: <20090428095757.GA89235@server.vk2pj.dyndns.org> References: <49F33195.7070200@bsdforen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <49F33195.7070200@bsdforen.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-stable@freebsd.org Subject: Re: installing crossbuilds X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 09:58:11 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Apr-25 17:51:49 +0200, Dominic Fandrey wrote: >Back before the 7.0 Release I used to install cross builds by >NFS-mounting /usr/src and /usr/obj of the build machine on the >target machine and running: > ># cd /usr/src ># env MAKEOBJDIRPREFIX=3D/usr/obj/ make installkernel KERNCONF=3D >... This has only ever worked if the target machine architecture was a superset of the build machine architecture. >This doesn't work any more because all the installation tools >are built for the architecture of the build system. buildworld has always built the build/install infrastucture to suit the build machine architecture. >The alternative to mount the whole fstab structure of the >target machine into the build server and installing with DESTDIR >works, but feels pretty clumsy in comparison. This is the supported way to install onto a different architecture target. --=20 Peter Jeremy --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkn20yUACgkQ/opHv/APuIcsBwCgrzShGVO0L14U5gHUQkcAlE+a uCoAnjg5VmjJLhdIWGtJiRNThfk43ZEq =c6Hb -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--