diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 66 |
1 files changed, 63 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure index 1cc7e6220e..3971bcb2e4 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -212,6 +212,13 @@ arm9tdmicc () { | |||
212 | endian="little" | 212 | endian="little" |
213 | } | 213 | } |
214 | 214 | ||
215 | arm946cc () { | ||
216 | prefixtools arm-elf- | ||
217 | GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls" | ||
218 | GCCOPTIMIZE="-fomit-frame-pointer" | ||
219 | endian="little" | ||
220 | } | ||
221 | |||
215 | whichadvanced () { | 222 | whichadvanced () { |
216 | ################################################################## | 223 | ################################################################## |
217 | # Prompt for specific developer options | 224 | # Prompt for specific developer options |
@@ -619,10 +626,10 @@ cat <<EOF | |||
619 | ==iAudio== ==Toshiba== ==SanDisk== | 626 | ==iAudio== ==Toshiba== ==SanDisk== |
620 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 | 627 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 |
621 | 31) M5/M5L 41) Gigabeat S 51) Sansa e200R | 628 | 31) M5/M5L 41) Gigabeat S 51) Sansa e200R |
622 | 52) Sansa c200 | 629 | 32) 7 52) Sansa c200 |
623 | 630 | ||
624 | ==Tatung== ==Olympus== | 631 | ==Tatung== ==Olympus== ==Logik== |
625 | 60) Elio TPJ-1022 70) M:Robe 500 | 632 | 60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB |
626 | EOF | 633 | EOF |
627 | 634 | ||
628 | buildfor=`input`; | 635 | buildfor=`input`; |
@@ -636,6 +643,7 @@ EOF | |||
636 | iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb" | 643 | iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb" |
637 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb" | 644 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb" |
638 | gigabeatbitmaptools="$toolset scramble descramble bmp2rb" | 645 | gigabeatbitmaptools="$toolset scramble descramble bmp2rb" |
646 | tccbitmaptools="$toolset scramble mktccboot bmp2rb" | ||
639 | # generic is used by IFP, H10, Sansa-e200 | 647 | # generic is used by IFP, H10, Sansa-e200 |
640 | genericbitmaptools="$toolset bmp2rb" | 648 | genericbitmaptools="$toolset bmp2rb" |
641 | 649 | ||
@@ -1310,6 +1318,32 @@ EOF | |||
1310 | t_model="mrobe-500" | 1318 | t_model="mrobe-500" |
1311 | ;; | 1319 | ;; |
1312 | 1320 | ||
1321 | 80|logikdax) | ||
1322 | target_id=31 | ||
1323 | archos="logikdax" | ||
1324 | target="-DLOGIK_DAX" | ||
1325 | memory=2 # always | ||
1326 | arm946cc | ||
1327 | tool="$rootdir/tools/scramble -add=ldax" | ||
1328 | boottool="$rootdir/tools/scramble -tcc=crc" | ||
1329 | bootoutput="player.rom" | ||
1330 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
1331 | bmp2rb_native="$rootdir/tools/bmp2rb -f 0" | ||
1332 | output="rockbox.logik" | ||
1333 | appextra="recorder:gui" | ||
1334 | archosrom="" | ||
1335 | flash="" | ||
1336 | plugins="no" | ||
1337 | swcodec="yes" | ||
1338 | # toolset is the tools within the tools directory that we build for | ||
1339 | # this particular target. | ||
1340 | toolset=$tccbitmaptools | ||
1341 | # architecture, manufacturer and model for the target-tree build | ||
1342 | t_cpu="arm" | ||
1343 | t_manufacturer="tcc77x" | ||
1344 | t_model="logikdax" | ||
1345 | ;; | ||
1346 | |||
1313 | 50|e200) | 1347 | 50|e200) |
1314 | target_id=23 | 1348 | target_id=23 |
1315 | archos="e200" | 1349 | archos="e200" |
@@ -1416,6 +1450,32 @@ EOF | |||
1416 | t_manufacturer="tatung" | 1450 | t_manufacturer="tatung" |
1417 | t_model="tpj1022" | 1451 | t_model="tpj1022" |
1418 | ;; | 1452 | ;; |
1453 | |||
1454 | 32|iaudio7) | ||
1455 | target_id=32 | ||
1456 | archos="iaudio7" | ||
1457 | target="-DIAUDIO_7" | ||
1458 | memory=16 # always | ||
1459 | arm946cc | ||
1460 | tool="$rootdir/tools/scramble -add i7" | ||
1461 | boottool="$rootdir/tools/scramble -tcc=crc" | ||
1462 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
1463 | bmp2rb_native="$rootdir/tools/bmp2rb -f 5" | ||
1464 | output="rockbox.iaudio" | ||
1465 | appextra="recorder:gui" | ||
1466 | archosrom="" | ||
1467 | flash="" | ||
1468 | plugins="yes" | ||
1469 | swcodec="yes" | ||
1470 | bootoutput="I7_FW.BIN" | ||
1471 | # toolset is the tools within the tools directory that we build for | ||
1472 | # this particular target. | ||
1473 | toolset="$tccbitmaptools" | ||
1474 | # architecture, manufacturer and model for the target-tree build | ||
1475 | t_cpu="arm" | ||
1476 | t_manufacturer="tcc77x" | ||
1477 | t_model="iaudio7" | ||
1478 | ;; | ||
1419 | 1479 | ||
1420 | *) | 1480 | *) |
1421 | echo "Please select a supported target platform!" | 1481 | echo "Please select a supported target platform!" |