summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-11 11:43:45 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-11 11:43:45 +0000
commitd9e4d6d889020087444b497c6b9b37418e955468 (patch)
tree4e887c98bc96224293c20c5ffe2e9b36c2cbd7d9 /tools
parent2d788744ae5d17c137e91a56f2a8fdb0824c0ede (diff)
Make EABI gcc the default for ARM platforms
Blacklist stable targets not tested enough and use the old gcc for these Please test --eabi on these targets and remove them from the list when done git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26769 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure27
1 files changed, 18 insertions, 9 deletions
diff --git a/tools/configure b/tools/configure
index 6c8fe7a793..8d7b1c0e6d 100755
--- a/tools/configure
+++ b/tools/configure
@@ -40,7 +40,16 @@ prefixtools () {
}
findarmgcc() {
- if [ "$ARG_ARM_EABI" = "1" ]; then
+ models_not_checked_with_eabi="iriverh10 iriverh10_5gb ipodcolor ipodnano1g ipodvideo ipod3g ipod4g ipodmini1g ipodmini2g ipod1g2g ipodnano2g iaudio7 cowond2 gigabeatfx gigabeats mrobe500 mrobe100 sansae200 sansac200 sansae200r vibe500"
+ if [ "$ARG_ARM_EABI" != 1 ]; then # eabi not explicitely enabled
+ for model in $models_not_checked_with_eabi; do
+ if [ "$modelname" = "$model" ]; then
+ ARG_ARM_EABI="0"
+ fi
+ done
+ fi
+
+ if [ "$ARG_ARM_EABI" != "0" ]; then
prefixtools arm-elf-eabi-
gccchoice="4.4.4"
else
@@ -272,7 +281,7 @@ coldfirecc () {
arm7tdmicc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm7tdmi"
- if test "X$1" != "Xshort" -a "$ARG_ARM_EABI" != "1"; then
+ if test "X$1" != "Xshort" -a "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -282,7 +291,7 @@ arm7tdmicc () {
arm9tdmicc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm9tdmi"
- if test "$modelname" != "gigabeatfx" -a "$t_manufacturer" != "as3525" -a "$ARG_ARM_EABI" != "1"; then
+ if test "$modelname" != "gigabeatfx" -a "$t_manufacturer" != "as3525" -a "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -292,7 +301,7 @@ arm9tdmicc () {
arm940tbecc () {
findarmgcc
GCCOPTS="$CCOPTS -mbig-endian -mcpu=arm940t"
- if test "$ARG_ARM_EABI" != "1"; then
+ if test "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -302,7 +311,7 @@ arm940tbecc () {
arm940tcc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm940t"
- if test "$ARG_ARM_EABI" != "1"; then
+ if test "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -312,7 +321,7 @@ arm940tcc () {
arm946cc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm9e"
- if test "$ARG_ARM_EABI" != "1"; then
+ if test "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -322,7 +331,7 @@ arm946cc () {
arm926ejscc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm926ej-s"
- if test "$t_manufacturer" != "as3525" -a "$ARG_ARM_EABI" != "1"; then
+ if test "$t_manufacturer" != "as3525" -a "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -332,7 +341,7 @@ arm926ejscc () {
arm1136jfscc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm1136jf-s"
- if test "$modelname" != "gigabeats" -a "$ARG_ARM_EABI" != "1"; then
+ if test "$modelname" != "gigabeats" -a "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"
@@ -342,7 +351,7 @@ arm1136jfscc () {
arm1176jzscc () {
findarmgcc
GCCOPTS="$CCOPTS -mcpu=arm1176jz-s"
- if test "$ARG_ARM_EABI" != "1"; then
+ if test "$ARG_ARM_EABI" = "0"; then
GCCOPTS="$GCCOPTS -mlong-calls"
fi
GCCOPTIMIZE="-fomit-frame-pointer"