X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=fc998d96c00920188dde255999750b33d8654f8b;hp=705b9cc20528f3c2eee6d74d257c6b2944fe3433;hb=d761877d89d76629498188a0ef0f8494c58f135f;hpb=d897aaf9a3814003f5fd9d7805e0226f7ad8a63d diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 705b9cc..fc998d9 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -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 \