diff options
author | Tomasz Malesinski <tomal@rockbox.org> | 2006-08-12 22:46:34 +0000 |
---|---|---|
committer | Tomasz Malesinski <tomal@rockbox.org> | 2006-08-12 22:46:34 +0000 |
commit | 17972c9267eddccd6c6f5f41d004d7627bd0c773 (patch) | |
tree | 7e92cda1ff5b346a13e89c2fc0c39b733d49850a /tools/configure | |
parent | 4e363525672f6bbfd6512ff55974d7164a8c341d (diff) |
Compile for Iriver iFP with short calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10554 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index f9558b8e9d..6270e8f21f 100755 --- a/tools/configure +++ b/tools/configure @@ -210,7 +210,10 @@ coldfirecc () { arm7tdmicc () { prefixtools arm-elf- - GCCOPTS="$CCOPTS -mcpu=arm7tdmi -ffunction-sections -mlong-calls" + GCCOPTS="$CCOPTS -mcpu=arm7tdmi" + if test "X$1" != "Xshort"; then + GCCOPTS="$GCCOPTS -ffunction-sections -mlong-calls" + fi GCCOPTIMIZE="-fomit-frame-pointer" endian="little" } @@ -841,7 +844,7 @@ toolsdir='\$(ROOTDIR)/tools' archos="ifp7xx" target="-DIRIVER_IFP7XX" memory=1 - arm7tdmicc + arm7tdmicc short tool="cp" bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" bmp2rb_native="$rootdir/tools/bmp2rb -f 0" |