diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/buildzip.pl | 3 | ||||
| -rwxr-xr-x | tools/configure | 25 | ||||
| -rw-r--r-- | tools/root.make | 4 |
3 files changed, 30 insertions, 2 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 56bbe6d..1fd242e 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -375,7 +375,7 @@ sub buildzip { close(IGNORE); # the samsung ypr0 has a loader script that's needed in the zip - if ($modelname =~ /samsungypr0/) { + if ($modelname =~ /samsungypr[01]/) { glob_copy("$ROOT/utils/ypr0tools/rockbox.sh", "$temp_dir/"); } # add .nomedia on Android @@ -695,4 +695,3 @@ elsif($exe eq "librockbox.so") { } runone($exe, $incfonts); - diff --git a/tools/configure b/tools/configure index 0f89783..dfe84a9 100755 --- a/tools/configure +++ b/tools/configure @@ -1340,6 +1340,7 @@ cat <<EOF 205) Samsung YP-R0 206) Android MIPS 207) Android x86 + 208) Samsung YP-R1 ==IHIFI== 230) 760 @@ -3545,6 +3546,30 @@ fi t_model="app" ;; + 208|samsungypr1) + application="yes" + target_id=93 + modelname="samsungypr1" + target="SAMSUNG_YPR1" + memory=32 + uname=`uname` + # Linux environment and CPU are the same as for R0, use the same gcc options + ypr0cc + tool="cp " + boottool="cp " + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 4" + output="rockbox" + bootoutput="rockbox" + appextra="recorder:gui:radio" + plugins="yes" + swcodec="yes" + # architecture, manufacturer and model for the target-tree build + t_cpu="hosted" + t_manufacturer="samsungypr" + t_model="ypr1" + ;; + 210|hifietma9) target_id=83 modelname="hifietma9" diff --git a/tools/root.make b/tools/root.make index dcdbba2..20e1ce3 100644 --- a/tools/root.make +++ b/tools/root.make @@ -128,6 +128,10 @@ else # core include $(ROOTDIR)/firmware/target/hosted/samsungypr/ypr0/ypr0.make endif + ifneq (,$(findstring ypr1,$(APP_TYPE))) + include $(ROOTDIR)/firmware/target/hosted/samsungypr/ypr1/ypr1.make + endif + ifneq (,$(findstring android, $(APP_TYPE))) include $(ROOTDIR)/android/android.make endif |