diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index d86c78de3a..27c1e71f23 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -867,6 +867,26 @@ androidndkcc() | |||
867 | prefixtools $gcctarget | 867 | prefixtools $gcctarget |
868 | } | 868 | } |
869 | 869 | ||
870 | mipsellinuxcc () { | ||
871 | GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib//` | ||
872 | GCCOPTS="$GCCOPTS -march=mips32r2 -mno-mips16 -mno-long-calls -Umips -fPIC" | ||
873 | GCCOPTIMIZE='' | ||
874 | LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS" | ||
875 | GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs" | ||
876 | SHARED_LDFLAG="-shared" | ||
877 | SHARED_CFLAGS='-fPIC -fvisibility=hidden' | ||
878 | endian="little" | ||
879 | app_type="rocker" | ||
880 | thread_support="HAVE_SIGALTSTACK_THREADS" | ||
881 | |||
882 | # Include path | ||
883 | GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT" | ||
884 | |||
885 | # Set up compiler | ||
886 | gccchoice="4.9.4" | ||
887 | prefixtools "mipsel-rockbox-linux-gnu-" | ||
888 | } | ||
889 | |||
870 | whichadvanced () { | 890 | whichadvanced () { |
871 | atype=`echo "$1" | cut -c 2-` | 891 | atype=`echo "$1" | cut -c 2-` |
872 | ################################################################## | 892 | ################################################################## |
@@ -1511,8 +1531,8 @@ cat <<EOF | |||
1511 | 207) Android x86 230) 760 223) NWZ-E460 series | 1531 | 207) Android x86 230) 760 223) NWZ-E460 series |
1512 | 208) Samsung YP-R1 231) 960 224) NWZ-E470 series | 1532 | 208) Samsung YP-R1 231) 960 224) NWZ-E470 series |
1513 | 225) NWZ-E580 series | 1533 | 225) NWZ-E580 series |
1514 | ==iBasso== 226) NWZ-A10 series | 1534 | ==iBasso== ==Agptek== 226) NWZ-A10 series |
1515 | 232) DX50 227) NW-A20 series | 1535 | 232) DX50 240) Rocker 227) NW-A20 series |
1516 | 233) DX90 228) NWZ-A860 series | 1536 | 233) DX90 228) NWZ-A860 series |
1517 | 229) NWZ-S750 series | 1537 | 229) NWZ-S750 series |
1518 | EOF | 1538 | EOF |
@@ -4173,6 +4193,29 @@ fi | |||
4173 | t_model="dx90" | 4193 | t_model="dx90" |
4174 | ;; | 4194 | ;; |
4175 | 4195 | ||
4196 | 240|agptekrocker) | ||
4197 | application="yes" | ||
4198 | target_id=97 | ||
4199 | modelname="agptekrocker" | ||
4200 | target="AGPTEK_ROCKER" | ||
4201 | memory=6 | ||
4202 | tool="cp " | ||
4203 | boottool="cp " | ||
4204 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
4205 | bmp2rb_native="$rootdir/tools/bmp2rb -f 10" | ||
4206 | output="rockbox.rocker" | ||
4207 | bootoutput="bootloader.rocker" | ||
4208 | appextra="recorder:gui:hosted" | ||
4209 | plugins="" | ||
4210 | swcodec="yes" | ||
4211 | # architecture, manufacturer and model for the target-tree build | ||
4212 | t_cpu="hosted" | ||
4213 | t_manufacturer="agptek" | ||
4214 | t_model="rocker" | ||
4215 | rbdir='/mnt/sd_0/.rockbox' | ||
4216 | mipsellinuxcc | ||
4217 | ;; | ||
4218 | |||
4176 | *) | 4219 | *) |
4177 | echo "Please select a supported target platform!" | 4220 | echo "Please select a supported target platform!" |
4178 | exit 7 | 4221 | exit 7 |