if [ x"$BUILD_ARCH" == xarmv4l -o x"$BUILD_ARCH" == xarmv5el -o x"$BUILD_ARCH" == xarmv7el -o x"$BUILD_ARCH" == xsh4 -o x"$BUILD_ARCH" == xppc ]; then
if [ x"`uname -i`" == xx86_64 -o x"`uname -i`" == xi386 ]; then
if [ -e /bin/bash-static ]; then
- echo "#!/bin/bash-static" > $BUILD_ROOT/.build/build.cross
- echo "bash-static /usr/sbin/qemu-binfmt-conf.sh" >> $BUILD_ROOT/.build/build.cross
- echo "exec /.build/build" >> $BUILD_ROOT/.build/build.cross
CROSS_INIT_SCRIPT="/.build/build.cross"
fi
fi