installing crossbuilds

Dominic Fandrey kamikaze at bsdforen.de
Sat Apr 25 15:52:18 UTC 2009


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


More information about the freebsd-stable mailing list