diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index 35f4b6d107..43f119ae17 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -435,6 +435,9 @@ simcc () { | |||
435 | else | 435 | else |
436 | echo "Your sdl-config does not know about static libs, falling back to shared library" | 436 | echo "Your sdl-config does not know about static libs, falling back to shared library" |
437 | sdlldopts=$($sdl --libs) | 437 | sdlldopts=$($sdl --libs) |
438 | # if [ "$win32crosscompile" = "yes" ] ; then | ||
439 | LDOPTS=`echo $LDOPTS | sed -e s/-static//` | ||
440 | # fi | ||
438 | fi | 441 | fi |
439 | GCCOPTS="$GCCOPTS ${sdlccopts}" | 442 | GCCOPTS="$GCCOPTS ${sdlccopts}" |
440 | LDOPTS="$LDOPTS ${sdlldopts}" | 443 | LDOPTS="$LDOPTS ${sdlldopts}" |
@@ -840,7 +843,7 @@ androidcc () { | |||
840 | endian="little" | 843 | endian="little" |
841 | gcctarget="i686-linux-android-" | 844 | gcctarget="i686-linux-android-" |
842 | echo "${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain" | 845 | echo "${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain" |
843 | ${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain | 846 | ${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain |
844 | if [ ${?} != 0 ]; then | 847 | if [ ${?} != 0 ]; then |
845 | exit | 848 | exit |
846 | fi | 849 | fi |
@@ -1673,6 +1676,8 @@ cat <<EOF | |||
1673 | ==AIGO== 244) M3K Linux | 1676 | ==AIGO== 244) M3K Linux |
1674 | 245) Eros Q / K 246) M3K baremetal ==Shanling== | 1677 | 245) Eros Q / K 246) M3K baremetal ==Shanling== |
1675 | 247) Eros Q / K native 260) Q1 | 1678 | 247) Eros Q / K native 260) Q1 |
1679 | 248) Eros Q / K native v3 | ||
1680 | (GC9A01 LCD Controller) | ||
1676 | EOF | 1681 | EOF |
1677 | 1682 | ||
1678 | buildfor=`input`; | 1683 | buildfor=`input`; |
@@ -4187,8 +4192,39 @@ fi | |||
4187 | t_cpu="mips" | 4192 | t_cpu="mips" |
4188 | t_manufacturer="ingenic_x1000" | 4193 | t_manufacturer="ingenic_x1000" |
4189 | t_model="erosqnative" | 4194 | t_model="erosqnative" |
4195 | # player version, for bootloader usage | ||
4196 | # versions 1 and 2 both use 1 | ||
4197 | extradefines="$extradefines -DEROSQN_VER=1" | ||
4190 | ;; | 4198 | ;; |
4191 | 4199 | ||
4200 | 248|erosqnative_v3) | ||
4201 | target_id=117 | ||
4202 | modelname="erosqnative_v3" | ||
4203 | target="EROS_QN" | ||
4204 | memory=32 | ||
4205 | mipsr2elcc | ||
4206 | appextra="recorder:gui" | ||
4207 | plugins="yes" | ||
4208 | tool="$rootdir/tools/scramble -add=erosqnative " | ||
4209 | boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 " | ||
4210 | output="rockbox.erosq" | ||
4211 | bootoutput="bootloader.erosq" | ||
4212 | sysfontbl="16-Terminus" | ||
4213 | # toolset is the tools within the tools directory that we build for | ||
4214 | # this particular target. | ||
4215 | toolset="$x1000tools" | ||
4216 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
4217 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
4218 | # architecture, manufacturer and model for the target-tree build | ||
4219 | t_cpu="mips" | ||
4220 | t_manufacturer="ingenic_x1000" | ||
4221 | t_model="erosqnative" | ||
4222 | # player version, for bootloader usage | ||
4223 | # version 3 | ||
4224 | extradefines="$extradefines -DEROSQN_VER=3" | ||
4225 | ;; | ||
4226 | |||
4227 | |||
4192 | *) | 4228 | *) |
4193 | echo "Please select a supported target platform!" | 4229 | echo "Please select a supported target platform!" |
4194 | exit 7 | 4230 | exit 7 |
@@ -4735,7 +4771,7 @@ cmdline=`echo $cmdline | sed -e s,--target=[a-zA-Z_0-9]\*,,g \ | |||
4735 | -e s,--ram=[0-9]\*,,g \ | 4771 | -e s,--ram=[0-9]\*,,g \ |
4736 | -e s,--rbdir=[./a-zA-Z0-9]\*,,g \ | 4772 | -e s,--rbdir=[./a-zA-Z0-9]\*,,g \ |
4737 | -e s,--voice=[-_./a-zA-Z0-9]\*,,g \ | 4773 | -e s,--voice=[-_./a-zA-Z0-9]\*,,g \ |
4738 | -e s,--type=[a-zA-Z]\*,,g` | 4774 | -e s,--type=[a-zA-Z0-9]\*,,g` |
4739 | cmdline="$cmdline --target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts" | 4775 | cmdline="$cmdline --target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts" |
4740 | 4776 | ||
4741 | ### end of cmdline | 4777 | ### end of cmdline |