Don't build STM32 firmware lib or libopenstm32.
[fw/cortex-toolchain] / summon-arm-toolchain
index 15181b667272b87919d1aecef1942f817473992c..13ad6230dba238cd1ba25370bdcc2e449c3032cb 100755 (executable)
@@ -2,10 +2,10 @@
 # Written by Uwe Hermann <uwe@hermann-uwe.de>, released as public domain.
 # Modified by Piotr Esden-Tempski <piotr@esden.net>, released as public domain.
 
-TARGET=arm-none-eabi                   # Or: TARGET=arm-none-eabi
-PREFIX=${HOME}/arm-none-eabi           # Install location of your final toolchain
-PARALLEL=""                            # Or: PARALLEL="-j 5" for 4 CPU's
-DARWIN_OPT_PATH=/opt/local             # Path in which MacPorts or Fink is installed
+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
+DARWIN_OPT_PATH=/opt/local     # Path in which MacPorts or Fink is installed
 
 BINUTILS=binutils-2.19.1
 GCC=gcc-4.4.2
@@ -15,7 +15,7 @@ LIBCMSIS=v1.10-2
 LIBSTM32=v3.0.0-1
 LIBSTM32USB=v3.0.1-1
 LIBOPENSTM32=master
-LIBSTM32_EN=1
+LIBSTM32_EN=0
 LIBOPENSTM32_EN=0
 
 SUMMON_DIR=$(pwd)
@@ -54,13 +54,13 @@ echo "Downloading binutils sources..."
 wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2
 
 echo "Downloading gcc sources..."
-wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
+wget -c http://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2
 
 echo "Downloading newlib sources..."
-wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
+wget -c --no-passive-ftp ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz
 
 echo "Downloading gdb sources..."
-wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
+wget -c http://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2
 
 if [ ${LIBSTM32_EN} != 0 ]; then
 if [ ! -e libcmsis-${LIBCMSIS}.tar.bz2 ]; then