Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2009 19:57:57 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: installing crossbuilds
Message-ID:  <20090428095757.GA89235@server.vk2pj.dyndns.org>
In-Reply-To: <49F33195.7070200@bsdforen.de>
References:  <49F33195.7070200@bsdforen.de>

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

--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 <kamikaze@bsdforen.de> 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/<stuff> make installkernel KERNCONF=3D<k=
ernconf>
>...

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--



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