projects
/
fw
/
cortex-toolchain
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added multilib support to SAT. Now floatingpoint support should work and we should...
[fw/cortex-toolchain]
/
summon-arm-toolchain
diff --git
a/summon-arm-toolchain
b/summon-arm-toolchain
index aa08b017af7210a55cc04a7183deff40ad8bf424..d0050ef835e4559a49c1b66c2062e2be15e98316 100755
(executable)
--- a/
summon-arm-toolchain
+++ b/
summon-arm-toolchain
@@
-285,10
+285,19
@@
fi
if [ ! -e ${STAMPS}/${GCC}-${NEWLIB}.build ]; then
unpack ${GCC}
unpack ${NEWLIB}
if [ ! -e ${STAMPS}/${GCC}-${NEWLIB}.build ]; then
unpack ${GCC}
unpack ${NEWLIB}
+
log "Adding newlib symlink to gcc"
log "Adding newlib symlink to gcc"
- ln -s `pwd`/${NEWLIB}/newlib ${GCC}
+ ln -
f -
s `pwd`/${NEWLIB}/newlib ${GCC}
log "Adding libgloss symlink to gcc"
log "Adding libgloss symlink to gcc"
- ln -s `pwd`/${NEWLIB}/libgloss ${GCC}
+ ln -f -s `pwd`/${NEWLIB}/libgloss ${GCC}
+
+ if [ ${DEFAULT_TO_CORTEX_M3} == 0 ] ; then
+ log "Patching gcc to add multilib support"
+ cd ${GCC}
+ patch -p0 -i ../patches/patch-gcc-config-arm-t-arm-elf.diff
+ cd ..
+ fi
+
cd build
log "Configuring ${GCC} and ${NEWLIB}"
../${GCC}/configure --target=${TARGET} \
cd build
log "Configuring ${GCC} and ${NEWLIB}"
../${GCC}/configure --target=${TARGET} \