summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/copy_gfx_software_silk.sh
diff options
context:
space:
mode:
authorStephen Lawrence <stephen.lawrence@renesas.com>2015-07-27 18:47:18 +0100
committerStephen Lawrence <stephen.lawrence@renesas.com>2015-07-27 18:50:05 +0100
commitb42c0c82d628cc3e7af728df668cf4459a50621f (patch)
treedafbfacab4e11e7234765c87f9b98a07822225c0 /meta-rcar-gen2/copy_gfx_software_silk.sh
parentd3eafa63999cc90351e0831c6178947c6d881fb1 (diff)
porter, silk: Add copy scripts for gfx and multimedia acceleration
Add the copy scripts that locate the graphics and multimedia acceleration files in the "click through" license downloads and copies them into the correct location in the R-Car Yocto BSP layers
Diffstat (limited to 'meta-rcar-gen2/copy_gfx_software_silk.sh')
-rwxr-xr-xmeta-rcar-gen2/copy_gfx_software_silk.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-rcar-gen2/copy_gfx_software_silk.sh b/meta-rcar-gen2/copy_gfx_software_silk.sh
new file mode 100755
index 0000000..90e71b9
--- /dev/null
+++ b/meta-rcar-gen2/copy_gfx_software_silk.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+### Note: To run this script, please stand on meta-rcar-gen2 to run.
+
+if [ ! -d $1/R-Car_Series_Evaluation_Software_Package_for_Linux ]
+then
+ tar -C $1 -zxf $1/R-Car_Series_Evaluation_Software_Package_for_Linux-*.tar.gz
+fi
+
+if [ ! -d $1/R-Car_Series_Evaluation_Software_Package_of_Linux_Drivers ]
+then
+ tar -C $1 -zxf $1/R-Car_Series_Evaluation_Software_Package_of_Linux_Drivers-*.tar.gz
+fi
+
+#cp $1/R-Car_Series_Evaluation_Software_Package_of_Linux_Drivers/sgx_gles2_e2_v115_eva/EVARTM0RC7794GLDE0001SL33C/EVA_SGX_KM_E2.tar.bz2 recipes-kernel/gles-module/gles-kernel-module/
+#cp $1/R-Car_Series_Evaluation_Software_Package_for_Linux/sgx_gles2_e2_v115_eva/EVARTM0RC7794GLRE0001SL33C/release/EVA_r8a7794_linux_sgx_binaries_gles2.tar.bz2 recipes-graphics/gles-module/gles-user-module/
+
+SGX_KM=`find $1 -name *SGX_KM_E2.tar.bz2 | tail -1`
+cp -r $SGX_KM recipes-kernel/gles-module/gles-kernel-module/SGX_KM_E2.tar.bz2
+
+SGX_LIB=`find $1 -name *r8a7794_linux_sgx_binaries_gles2.tar.bz2 | tail -1`
+cp -r $SGX_LIB recipes-graphics/gles-module/gles-user-module/r8a7794_linux_sgx_binaries_gles2.tar.bz2