[oe] [PATCH v2] libgles-omap3_3.01.00.07.bb: Add recipe

Khem Raj raj.khem at gmail.com
Mon Sep 13 20:04:13 UTC 2010


* Fix omap3-sgx-modules_1.4.14.2616.bb to use new SDK

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/powervr-drivers/libgles-omap3.inc          |    2 +-
 .../powervr-drivers/libgles-omap3_3.01.00.07.bb    |   19 +++++++++++++++++++
 .../omap3-sgx-modules_1.4.14.2616.bb               |    8 +++-----
 3 files changed, 23 insertions(+), 6 deletions(-)
 create mode 100644 recipes/powervr-drivers/libgles-omap3_3.01.00.07.bb

diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index d183486..a3a280b 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -24,7 +24,7 @@ PROVIDES += "virtual/egl"
 # 
 # voila!
 
-SRC_URI = "http://install.source.dir.local/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
 		   file://cputype \
 		   file://rc.pvr \
 		   file://sample.desktop \
diff --git a/recipes/powervr-drivers/libgles-omap3_3.01.00.07.bb b/recipes/powervr-drivers/libgles-omap3_3.01.00.07.bb
new file mode 100644
index 0000000..30a65b3
--- /dev/null
+++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.07.bb
@@ -0,0 +1,19 @@
+BINLOCATION = "${S}/gfx_rel_es3.x"
+
+ES2LOCATION = "${S}/gfx_rel_es2.x"
+ES3LOCATION = "${S}/gfx_rel_es3.x"
+ES5LOCATION = "${S}/gfx_rel_es5.x"
+
+require libgles-omap3.inc
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+SGXPV = "3_01_00_07"
+IMGPV = "1.4.14.2616"
+BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+SRC_URI[md5sum] = "b33a82d393ed0a6c26ad0d952542d762"
+SRC_URI[sha256sum] = "6f1720c2a8c2ce84b0020e144c2d77b56106a1fff45b44f8fcfd74d0f2559d8e"
+
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb
index 0d2818b..fc98b7b 100644
--- a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb
@@ -10,12 +10,11 @@ PR_append = "c"
 TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
 require ../ti/ti-eula-unpack.inc
 
-SGXPV = "3_01_00_06"
+SGXPV = "3_01_00_07"
 IMGPV = "1.4.14.2616"
 BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin"
 
 SRC_URI = "http://install.source.dir.local/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
-           file://texture-width.patch;striplevel=2 \
 "
 
 S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}/GFX_Linux_KM"
@@ -35,6 +34,5 @@ do_install() {
 	   ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
 	   ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
 }
-
-SRC_URI[md5sum] = "7aa37ca72f34011d353e72cc67f8aac1"
-SRC_URI[sha256sum] = "02276bc728699c36b0d2411c60f23030aa066ca6b8ed5adb7a40204563a227fb"
+SRC_URI[md5sum] = "b33a82d393ed0a6c26ad0d952542d762"
+SRC_URI[sha256sum] = "6f1720c2a8c2ce84b0020e144c2d77b56106a1fff45b44f8fcfd74d0f2559d8e"
-- 
1.7.1





More information about the Openembedded-devel mailing list