From b7a46ec0d9f6a59b4d461aeddbb1b4984e56cd14 Mon Sep 17 00:00:00 2001 From: Michael Hope Date: Sun, 12 Sep 2010 20:03:22 +1200 Subject: Shifted some variables about to allow a better override from local.sh --- summon-arm-toolchain | 14 ++++++++------ 1 file 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 -- cgit v1.2.3