summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
-rw-r--r--tools/scramble.c2
2 files changed, 31 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 697abceb00..b4c2fd8b21 100755
--- a/tools/configure
+++ b/tools/configure
@@ -442,6 +442,9 @@ cat <<EOF
442 442
443 ==iAudio== ==Toshiba== ==SanDisk== 443 ==iAudio== ==Toshiba== ==SanDisk==
444 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 444 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200
445
446 ==Tatung==
447 60) Elio TPJ-1022
445EOF 448EOF
446 449
447 buildfor=`input`; 450 buildfor=`input`;
@@ -1018,6 +1021,32 @@ EOF
1018 t_model="h10" 1021 t_model="h10"
1019 ;; 1022 ;;
1020 1023
1024 60|tpj1022)
1025 target_id=23
1026 archos="tpj1022"
1027 target="-DELIO_TPJ1022"
1028 memory=32 # always
1029 arm7tdmicc
1030 tool="$rootdir/tools/scramble -add tpj2"
1031 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1032 bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
1033 output="rockbox.elio"
1034 appextra="recorder:gui"
1035 archosrom=""
1036 flash=""
1037 plugins="yes"
1038 codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a"
1039 boottool="$rootdir/tools/scramble -mi4v2"
1040 bootoutput="pp5020.mi4"
1041 # toolset is the tools within the tools directory that we build for
1042 # this particular target.
1043 toolset="$genericbitmaptools scramble"
1044 # architecture, manufacturer and model for the target-tree build
1045 t_cpu="arm"
1046 t_manufacturer="tatung"
1047 t_model="tpj1022"
1048 ;;
1049
1021 *) 1050 *)
1022 echo "Please select a supported target platform!" 1051 echo "Please select a supported target platform!"
1023 exit 1052 exit
diff --git a/tools/scramble.c b/tools/scramble.c
index 50d745b388..30d4ea9edb 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -205,6 +205,8 @@ int main (int argc, char** argv)
205 modelnum = 13; 205 modelnum = 13;
206 else if(!strcmp(&argv[1][5], "h10_5gb")) 206 else if(!strcmp(&argv[1][5], "h10_5gb"))
207 modelnum = 14; 207 modelnum = 14;
208 else if(!strcmp(&argv[1][5], "tpj2"))
209 modelnum = 15;
208 else { 210 else {
209 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 211 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
210 return 2; 212 return 2;