-TARGET=arm-elf # Or: TARGET=arm-none-eabi
-PREFIX=${HOME}/arm-elf # Install location of your final toolchain
-PARALLEL="" # Or: PARALLEL="-j 5" for 4 CPU's
+#
+# Requirements (example is for Debian, replace package names as needed):
+#
+# 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
+
+##############################################################################
+# Settings section
+# You probably want to customize those
+##############################################################################
+TARGET=arm-none-eabi # Or: TARGET=arm-elf
+PREFIX=${HOME}/arm-none-eabi # Install location of your final toolchain
+PARALLEL= # Or: PARALLEL="-j 5" for 4 CPUs