Mercurial > hg > aboriginal
view build.sh @ 174:d373ff1ed679
Dash is broken and the busybox build breaks if it tries to use it, so
explicitly say /bin/bash. (Apparently, nothing should ever use /bin/sh.
Login shells shouldn't use it, scripts shouldn't use it...)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 24 Jun 2007 17:27:13 -0400 |
parents | ce1ca3d0f95b |
children | dd60fbdf04c7 |
line wrap: on
line source
#!/bin/bash # If run with no arguments, list architectures. if [ $# -eq 0 ] then echo "Usage: $0 ARCH [ARCH...]" ./include.sh exit 1 fi # Download source code and build host tools. ./download.sh || exit 1 ./host-tools.sh || exit 1 # Run the steps in order for each architecture listed on the command line for i in "$@" do echo "=== Building ARCH $i" ./cross-compiler.sh $i || exit 1 echo "=== native ($i)" ./mini-native.sh $i || exit 1 ./package-mini-native.sh $i || exit 1 done