Difference between revisions of "Talk:Crossdev Automation"

From Funtoo
Jump to navigation Jump to search
m
m
 
Line 6: Line 6:


My next goal is a more esoteric piece of hardware, an AM335x, with a DIMM mounted Cortex A8.
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...
{{console|body=
(chroot) # emerge distcc
(chroot) # . xcompile_variables.sh
(chroot) # cd /usr/lib/distcc/bin
(chroot) # rm c++ g++ gcc cc
(chroot) # $CROSSDEV_TARGET-wrapper <<EOF
#!/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++
}}

Latest revision as of 17:35, February 15, 2017

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