X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=fc998d96c00920188dde255999750b33d8654f8b;hp=31a77a192ad47cf762bc2092d79e90511e82c428;hb=d761877d89d76629498188a0ef0f8494c58f135f;hpb=35f35a8c9245d67a910e556bc4d983a30386891b diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 31a77a1..fc998d9 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -118,7 +118,7 @@ fi BINUTILS=binutils-2.21.1 NEWLIB=newlib-1.19.0 -GDB=gdb-7.2 +GDB=gdb-7.3.1 OOCD=master LIBCMSIS=v1.10-3 LIBSTM32=v3.0.0-2 @@ -335,6 +335,10 @@ fi if [ ! -e ${STAMPS}/${BINUTILS}.build ]; then unpack ${BINUTILS} + log "Patching binutils to allow SVC support on cortex-m3" + cd ${BINUTILS} + patch -p1 -i ../patches/patch-binutils-2.21.1-svc-cortexm3.diff + cd .. cd build log "Configuring ${BINUTILS}" ../${BINUTILS}/configure --target=${TARGET} \ @@ -442,6 +446,7 @@ if [ ! -e ${STAMPS}/openocd-${OOCD}.build ]; then CFLAGS="${CFLAGS} ${OOCD_CFLAGS}" \ LDFLAGS="${LDFLAGS} ${OOCD_LDFLAGS}" \ ../openocd-${OOCD}/configure --enable-maintainer-mode \ + --disable-werror \ --prefix=${PREFIX} \ --enable-dummy \ --enable-ft2232_libftdi \