comparison toolchain/build+install.sh @ 83:ebe258a85813

toolchain: binutils patch to emit the "short" form of Thumb->ARM call veneers
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 19 Aug 2013 05:16:34 +0000
parents 53b8d61c16a0
children
comparison
equal deleted inserted replaced
82:dd13211c9f10 83:ebe258a85813
31 31
32 target_args="--target=arm-elf" 32 target_args="--target=arm-elf"
33 33
34 # binutils come first 34 # binutils come first
35 tar xjf $1/binutils-2.21.1a.tar.bz2 35 tar xjf $1/binutils-2.21.1a.tar.bz2
36 # apply patches
37 patch binutils-2.21.1/bfd/elf32-arm.c < binutils-patches/elf32-arm.patch
36 mkdir -p binutils-build 38 mkdir -p binutils-build
37 cd binutils-build 39 cd binutils-build
38 ../binutils-2.21.1/configure --prefix=$2 ${target_args} --disable-nls 40 ../binutils-2.21.1/configure --prefix=$2 ${target_args} --disable-nls
39 make all 41 make all
40 make install 42 make install