Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Talk:Crossdev Automation
Jump to navigation
Jump to search
Hi everyone.
I hope this page can evolve into something useful, and I appreciate feedback on it. I would like to codify the process of preparing a customized bootable stage3 for transfer to a new host. This page focuses on arm type boards, but I believe this could have a larger value.
I believe this is now a complete install process for the Raspberry Pi 2 and 3, and can be easily adapted to RPi 1 as well.
My next goal is a more esoteric piece of hardware, an AM335x, with a DIMM mounted Cortex A8.
We probably need a Funtoo friendly mechanism to preserve these alterations across emerge @world. I don't know what that is.
I"m not if this works...
(chroot) # emerge distcc (chroot) # . xcompile_variables.sh (chroot) # cd /usr/lib/distcc/bin (chroot) # rm c++ g++ gcc cc (chroot) # $CROSSDEV_TARGET-wrapper <<EOF root #!/bin/bash exec /usr/lib/distcc/bin/$CROSSDEV_TARGET-g${0:$[-2]} "$@" EOF (chroot) root #chmod a+x $CROSSDEV_TARGET-wrapper (chroot) root #ln -s $CROSSDEV_TARGET-wrapper cc (chroot) root #ln -s $CROSSDEV_TARGET-wrapper gcc (chroot) root #ln -s $CROSSDEV_TARGET-wrapper g++ (chroot) root #ln -s $CROSSDEV_TARGET-wrapper c++