Add aboriginal linux build recipe
[qi-bootmenu-system.git] / sources / sections / aboriginal.sh
blob1585e99a3a3372a63310f93362ee95c0e3aa333d
1 setupfor aboriginal
3 ./download.sh || dienow
5 # first build a simple cross compiler for the host to build the
6 # executables
8 ./simple-cross-compiler.sh "`uname -m`" || dienow
10 # then build a simple cross compiler for the target which is
11 # needed to build the libraries
13 ./simple-cross-compiler.sh "$ARCH" || dienow
15 # and finally build a more advanced cross compiler which for
16 # portability is statically linked agains the host uClibc
18 CROSS_HOST_ARCH=`uname -m` ./cross-compiler.sh "$ARCH" || dienow
20 cp build/cross-compiler-$ARCH.tar.bz2 "$TOP" &&
21 tar -C "$TOP" -xjf build/cross-compiler-$ARCH.tar.bz2 || dienow
23 export PATH="$PATH:$TOP/cross-compiler-$ARCH/bin"
25 cleanup aboriginal