public
Last active

  • Download Gist
sb armv7 setup.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
download_dir=/tmp/sb
sb_base_url=http://scratchbox.org/download/files/sbox-releases/apophis/tarball
sb=/opt/scratchbox
target=armv7
 
sb_base_dir=$(dirname $sb)
 
mkdir -p $download_dir
 
function setup()
{
wget -c -P $download_dir $sb_base_url/$1
sudo tar -xf $download_dir/$1 -C $sb_base_dir
}
 
setup scratchbox-core-1.0.9-i386.tar.gz
setup scratchbox-libs-1.0.9-i386.tar.gz
setup scratchbox-devkit-cputransp-1.0.7-i386.tar.gz
setup scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.8-6-i386.tar.gz
 
sudo $sb/run_me_first.sh
sudo $sb/sbin/sbox_adduser $USER yes
 
$sb/tools/bin/sb-conf setup $target --force --compiler="cs2007q3-glibc2.5-arm7" --devkits="cputransp" --cputransp="qemu-arm-cvs-m"
$sb/tools/bin/sb-conf install $target --devkits --fakeroot --etc

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.