summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-07-12 22:16:51 +0000
committerDave Chapman <dave@dchapman.com>2009-07-12 22:16:51 +0000
commitafe43d3fcba11eadf9960d48ae461f6e429b9a88 (patch)
tree29539ce2330baa72ea767bb26dbc13b9171a6dab /tools/configure
parent40c6e7d28256e98bd4ffefd13d369f8d36058bc0 (diff)
downloadrockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.tar.gz
rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.zip
Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure74
1 files changed, 53 insertions, 21 deletions
diff --git a/tools/configure b/tools/configure
index e543919ca6..42854fba79 100755
--- a/tools/configure
+++ b/tools/configure
@@ -275,6 +275,14 @@ arm940tbecc () {
275 gccchoice="4.0.3" 275 gccchoice="4.0.3"
276} 276}
277 277
278arm940tcc () {
279 prefixtools arm-elf-
280 GCCOPTS="$CCOPTS -mcpu=arm940t -mlong-calls"
281 GCCOPTIMIZE="-fomit-frame-pointer"
282 endian="little"
283 gccchoice="4.0.3"
284}
285
278arm946cc () { 286arm946cc () {
279 prefixtools arm-elf- 287 prefixtools arm-elf-
280 GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls" 288 GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls"
@@ -769,27 +777,27 @@ cat <<EOF
769 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G 777 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G
770 6) AV300 26) Mini 2G 778 6) AV300 26) Mini 2G
771 ==Toshiba== 27) 1G, 2G 779 ==Toshiba== 27) 1G, 2G
772 ==Cowon/iAudio== 40) Gigabeat F 780 ==Cowon/iAudio== 40) Gigabeat F 28) Nano 2G
773 30) X5/X5V/X5L 41) Gigabeat S ==SanDisk== 781 30) X5/X5V/X5L 41) Gigabeat S
774 31) M5/M5L 50) Sansa e200 782 31) M5/M5L ==SanDisk==
775 32) 7 ==Olympus= 51) Sansa e200R 783 32) 7 ==Olympus= 50) Sansa e200
776 33) D2 70) M:Robe 500 52) Sansa c200 784 33) D2 70) M:Robe 500 51) Sansa e200R
777 34) M3/M3L 71) M:Robe 100 53) Sansa m200 785 34) M3/M3L 71) M:Robe 100 52) Sansa c200
778 54) Sansa c100 786 53) Sansa m200
779 ==Creative== ==Philips== 55) Sansa Clip 787 ==Creative== ==Philips== 54) Sansa c100
780 90) Zen Vision:M 30GB 100) GoGear SA9200 56) Sansa e200v2 788 90) Zen Vision:M 30GB 100) GoGear SA9200 55) Sansa Clip
781 91) Zen Vision:M 60GB 101) GoGear HDD1630/ 57) Sansa m200v4 789 91) Zen Vision:M 60GB 101) GoGear HDD1630/ 56) Sansa e200v2
782 92) Zen Vision HDD1830 58) Sansa Fuze 790 92) Zen Vision HDD1830 57) Sansa m200v4
783 59) Sansa c200v2 791 58) Sansa Fuze
784 ==Onda== ==Meizu== 60) Sansa Clipv2 792 ==Onda== ==Meizu== 59) Sansa c200v2
785 120) VX747 110) M6SL 793 120) VX747 110) M6SL 60) Sansa Clipv2
786 121) VX767 111) M6SP ==Logik== 794 121) VX767 111) M6SP
787 122) VX747+ 112) M3 80) DAX 1GB MP3/DAB 795 122) VX747+ 112) M3 ==Logik==
788 123) VX777 796 123) VX777 80) DAX 1GB MP3/DAB
789 797
790 ==Samsung== ==Tatung== ==Lyre project== 798 ==Samsung== ==Tatung==
791 140) YH-820 150) Elio TPJ-1022 130) Lyre proto 1 799 140) YH-820 150) Elio TPJ-1022 ==Lyre project==
792 141) YH-920 800 141) YH-920 130) Lyre proto 1
793 142) YH-925 801 142) YH-925
794EOF 802EOF
795 803
@@ -1329,6 +1337,30 @@ fi
1329 t_model="1g2g" 1337 t_model="1g2g"
1330 ;; 1338 ;;
1331 1339
1340 28|ipodnano2g)
1341 target_id=62
1342 modelname="ipodnano2g"
1343 target="-DIPOD_NANO2G"
1344 memory=32 # always
1345 arm940tcc
1346 tool="$rootdir/tools/scramble -add=nn2g"
1347 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1348 bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
1349 output="rockbox.ipod"
1350 appextra="recorder:gui"
1351 plugins="yes"
1352 swcodec="yes"
1353 boottool="cp"
1354 bootoutput="bootloader-$modelname.bin"
1355 # toolset is the tools within the tools directory that we build for
1356 # this particular target.
1357 toolset=$ipodbitmaptools
1358 # architecture, manufacturer and model for the target-tree build
1359 t_cpu="arm"
1360 t_manufacturer="s5l8700"
1361 t_model="ipodnano2g"
1362 ;;
1363
1332 30|x5) 1364 30|x5)
1333 target_id=12 1365 target_id=12
1334 modelname="x5" 1366 modelname="x5"