summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-10 09:27:20 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-10 09:27:20 +0000
commitca07873607bbba7c8adff6d786b6b88f14ef7650 (patch)
treead3627a97b36c4bedb4acee6f6af0606ea547313 /tools
parent0358d9b382057ad45ba86882b55bc4cec630e726 (diff)
downloadrockbox-ca07873607bbba7c8adff6d786b6b88f14ef7650.tar.gz
rockbox-ca07873607bbba7c8adff6d786b6b88f14ef7650.tar.bz2
rockbox-ca07873607bbba7c8adff6d786b6b88f14ef7650.zip
Gigabeat F/X/S do not need '-mlong-calls' since they do not use IRAM for code which will save a good bit of bin size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19962 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index d92fab8118..8b02d16dca 100755
--- a/tools/configure
+++ b/tools/configure
@@ -258,7 +258,10 @@ arm7tdmicc () {
arm9tdmicc () {
prefixtools arm-elf-
- GCCOPTS="$CCOPTS -mcpu=arm9tdmi -mlong-calls"
+ GCCOPTS="$CCOPTS -mcpu=arm9tdmi"
+ if test "$modelname" != "gigabeatf"; then
+ GCCOPTS="$GCCOPTS -mlong-calls"
+ fi
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="4.0.3"
@@ -290,7 +293,10 @@ arm926ejscc () {
arm1136jfscc () {
prefixtools arm-elf-
- GCCOPTS="$CCOPTS -mcpu=arm1136jf-s -mlong-calls"
+ GCCOPTS="$CCOPTS -mcpu=arm1136jf-s"
+ if test "$modelname" != "gigabeats"; then
+ GCCOPTS="$GCCOPTS -mlong-calls"
+ fi
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="4.0.3"