X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=13ad6230dba238cd1ba25370bdcc2e449c3032cb;hp=15181b667272b87919d1aecef1942f817473992c;hb=ce741c5a901a48c21cb453525530d9048c94e997;hpb=c086a5b9e5cfb3b39f3f8afe22e4281aa23639d3 diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 15181b6..13ad623 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -2,10 +2,10 @@ # Written by Uwe Hermann , released as public domain. # Modified by Piotr Esden-Tempski , 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