diff options
-rwxr-xr-x | summon-arm-toolchain | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 7972c1b..03d5d48 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -8,6 +8,8 @@ # apt-get install flex bison libgmp3-dev libmpfr-dev libncurses5-dev \ # libmpc-dev autoconf texinfo build-essential # +# Or on Ubuntu Maverick give `apt-get build-dep gcc-4.5` a try. +# # Stop if any command fails set -e @@ -41,12 +43,6 @@ LIBOPENSTM32=master LIBSTM32_EN=0 LIBOPENSTM32_EN=0 -SUMMON_DIR=$(pwd) -SOURCES=${SUMMON_DIR}/sources -STAMPS=${SUMMON_DIR}/stamps - -export PATH="${PREFIX}/bin:${PATH}" - GCCFLAGS= GDBFLAGS= BINUTILFLAGS= @@ -67,6 +63,12 @@ if [ ${QUIET} != 0 ]; then MAKEFLAGS="${MAKEFLAGS} -s" fi +export PATH="${PREFIX}/bin:${PATH}" + +SUMMON_DIR=$(pwd) +SOURCES=${SUMMON_DIR}/sources +STAMPS=${SUMMON_DIR}/stamps + # Fetch a versioned file from a URL function fetch { if [ ! -e ${STAMPS}/$1.fetch ]; then |