Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2009 17:51:49 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-stable@freebsd.org
Subject:   installing crossbuilds
Message-ID:  <49F33195.7070200@bsdforen.de>

next in thread | raw e-mail | index | archive | help
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=/usr/obj/<stuff> make installkernel KERNCONF=<kernconf>
...

This doesn't work any more because all the installation tools
are built for the architecture of the build system.


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.

Is there any way to change that behaviour (most of the stuff
that ends up having the wrong architecture is in tmp/legacy,
but there's more).



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