X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=213918223fea0ba1992e865fe40a21bda714ca11;hp=58ae6891051c46382dc699852213c451771b2b0d;hb=58614964ed61210e81b5159851d517765c05961a;hpb=ed24af0ff03b3b00526fc642998f585ff96d2b2e diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 58ae689..2139182 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -1,11 +1,11 @@ #!/bin/bash # Written by Uwe Hermann , released as public domain. -# Modified by Piot Esden-Tempski , released as public domain. +# Modified by Piotr Esden-Tempski , released as public domain. -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 -DARWIN_OPT_PATH=/opt/local # Path in which MacPorts or Fink is installed +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 +DARWIN_OPT_PATH=/opt/local # Path in which MacPorts or Fink is installed BINUTILS=binutils-2.19.1 GCC=gcc-4.4.0 @@ -34,7 +34,7 @@ case "$(uname)" in GDBFLAGS="--disable-werror" ;; *) - echo "Found Unknown OS. Aborting!" + echo "Found unknown OS. Aborting!" exit 1 ;; esac @@ -99,7 +99,7 @@ fi if [ ${LIBOPENSTM32_EN} != 0 ]; then if [ ! -e libopenstm32-${LIBOPENSTM32}.tar.bz2 ]; then echo "Cloning libopenstm32 sources..." - git clone git://libopenstm32.git.sourceforge.net/gitroot/libopenstm32 + git clone git://libopenstm32.git.sourceforge.net/gitroot/libopenstm32/libopenstm32 cd libopenstm32 git archive --format=tar --prefix=libopenstm32-${LIBOPENSTM32}/ ${LIBOPENSTM32} | \ bzip2 --stdout > ../libopenstm32-${LIBOPENSTM32}.tar.bz2