summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure26
-rw-r--r--tools/scramble.c2
2 files changed, 27 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index f32c5d514d..eb3a971366 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1598,7 +1598,7 @@ cat <<EOF
1598 ==FiiO== 229) NWZ-S750 series 1598 ==FiiO== 229) NWZ-S750 series
1599 ==AIGO== 244) M3K Linux 1599 ==AIGO== 244) M3K Linux
1600 245) Eros Q / K 246) M3K baremetal ==Shanling== 1600 245) Eros Q / K 246) M3K baremetal ==Shanling==
1601 260) Q1 1601 247) Eros Q / K native 260) Q1
1602EOF 1602EOF
1603 1603
1604 buildfor=`input`; 1604 buildfor=`input`;
@@ -4133,6 +4133,30 @@ fi
4133 t_model="shanlingq1" 4133 t_model="shanlingq1"
4134 ;; 4134 ;;
4135 4135
4136 247|erosqnative)
4137 target_id=116
4138 modelname="erosqnative"
4139 target="EROS_QN"
4140 memory=32
4141 mipsr2elcc
4142 appextra="recorder:gui"
4143 plugins="yes"
4144 tool="$rootdir/tools/scramble -add=erosqnative "
4145 boottool="" # not used
4146 output="rockbox.erosq"
4147 bootoutput="bootloader.erosq"
4148 sysfontbl="16-Terminus"
4149 # toolset is the tools within the tools directory that we build for
4150 # this particular target.
4151 toolset="$x1000tools"
4152 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
4153 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
4154 # architecture, manufacturer and model for the target-tree build
4155 t_cpu="mips"
4156 t_manufacturer="ingenic_x1000"
4157 t_model="erosqnative"
4158 ;;
4159
4136 *) 4160 *)
4137 echo "Please select a supported target platform!" 4161 echo "Please select a supported target platform!"
4138 exit 7 4162 exit 7
diff --git a/tools/scramble.c b/tools/scramble.c
index a75d6df528..ec79cb8ca2 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -335,6 +335,8 @@ int main (int argc, char** argv)
335 modelnum = 114; 335 modelnum = 114;
336 else if (!strcmp(&argv[1][5], "shq1")) /* Shanling Q1 */ 336 else if (!strcmp(&argv[1][5], "shq1")) /* Shanling Q1 */
337 modelnum = 115; 337 modelnum = 115;
338 else if (!strcmp(&argv[1][5], "erosqnative")) /* Aigo Eros Q Native */
339 modelnum = 116;
338 else { 340 else {
339 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 341 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
340 return 2; 342 return 2;