summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/copy_gfx_software_porter.sh
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-08-31 13:31:19 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-08-31 17:59:03 +0900
commit3fb0bff8c1fc1f4f0a18afeae67e88bdff7582f2 (patch)
treece866aae6bc9f481cab2d436c731db247c2e12ca /meta-rcar-gen2/copy_gfx_software_porter.sh
parent13a2551505942808752a1721c9a27ce7d35cec33 (diff)
parente3b0f456ba8176253cf0d289a14bf26b1ea2134a (diff)
[AGL] Merge branch 'genivi-7.0-bsp-1.8.0' into agl-1.0-bsp-1.8.0
Change-Id: Ib6f42400e99ec1a95cdf139d31fb18ea1ba3314e Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'meta-rcar-gen2/copy_gfx_software_porter.sh')
-rwxr-xr-xmeta-rcar-gen2/copy_gfx_software_porter.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-rcar-gen2/copy_gfx_software_porter.sh b/meta-rcar-gen2/copy_gfx_software_porter.sh
new file mode 100755
index 0000000..7fbb4a0
--- /dev/null
+++ b/meta-rcar-gen2/copy_gfx_software_porter.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_m2_v115_eva/EVARTM0RC7791GLDE0001SL34C/EVA_SGX_KM_M2.tar.bz2 recipes-kernel/gles-module/gles-kernel-module/
+#cp $1/R-Car_Series_Evaluation_Software_Package_for_Linux/sgx_gles2_m2_v115_eva/EVARTM0RC7791GLRE0001SL34C/release/EVA_r8a7791_linux_sgx_binaries_gles2.tar.bz2 recipes-graphics/gles-module/gles-user-module/
+
+SGX_KM=`find $1 -name *SGX_KM_M2.tar.bz2 | tail -1`
+cp -r $SGX_KM recipes-kernel/gles-module/gles-kernel-module/SGX_KM_M2.tar.bz2
+
+SGX_LIB=`find $1 -name *r8a7791_linux_sgx_binaries_gles2.tar.bz2 | tail -1`
+cp -r $SGX_LIB recipes-graphics/gles-module/gles-user-module/r8a7791_linux_sgx_binaries_gles2.tar.bz2