# 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
# Set to 'sudo' if you need superuser privileges while installing
SUDO=
# Set to 1 to be quieter while running
-QUIET=1
+QUIET=0
# For FSF GCC:
GCCVERSION=4.5.1
LIBSTM32_EN=0
LIBOPENSTM32_EN=0
-SUMMON_DIR=$(pwd)
-SOURCES=${SUMMON_DIR}/sources
-STAMPS=${SUMMON_DIR}/stamps
+GCCFLAGS=
+GDBFLAGS=
+BINUTILFLAGS=
+
+# To default to the Cortex-M3:
+# GCCFLAGS="--with-arch=armv7-m --with-mode=thumb"
+
+# Pull in the local configuration, if any
+if [ -f local.sh ]; then
+ . ./local.sh
+fi
MAKEFLAGS=${PARALLEL}
TARFLAGS=v
export PATH="${PREFIX}/bin:${PATH}"
-GCCFLAGS=
-GDBFLAGS=
-BINUTILFLAGS=
-
-# To default to the Cortex-M3:
-# GCCFLAGS="--with-arch=armv7-m --with-mode=thumb"
+SUMMON_DIR=$(pwd)
+SOURCES=${SUMMON_DIR}/sources
+STAMPS=${SUMMON_DIR}/stamps
# Fetch a versioned file from a URL
function fetch {