This seems to be old. Just set TARGET=arm and TARGET_ARCH=arm in
/etc/make/conf and then 'make buildworld' ...
Ok, this did work. But how do I build a cross-compiler or better how do
I compile foreign code (think u-boot) on i386 for arm?
I have some patches that install everything into /usr/arm-freebsd
that's needed for most configure scripts to do the right thing. This
would be the best solution.
However, since I don't have those hacks packaged up, the next best
thing is to cd to the src directory and do make buildenv. This gives
you a build environment that has the cross compilers in place. Don't
know if it would work for something as complex as uboot.
I'll try it, but can take a while (off to EuroBSDCon in a few hours).
Interested in testing some patches if I run some diffs?