X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=fc998d96c00920188dde255999750b33d8654f8b;hp=558f3149839488e4c1c2911070b9dd3d23a3f277;hb=d761877d89d76629498188a0ef0f8494c58f135f;hpb=b14785fb35e726359d668300ea628613c74cbb51 diff --git a/summon-arm-toolchain b/summon-arm-toolchain index 558f314..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} \