[oe-commits] Koen Kooi : omap3-sgx-modules: make 1.4.14. 2514 the default and make it build against 2.6.32

git version control git at git.openembedded.org
Thu Jan 14 12:29:23 UTC 2010


Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 0d85e0aac0fa3628a73616647a51a0d699c1586b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0d85e0aac0fa3628a73616647a51a0d699c1586b

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Jan 13 21:31:55 2010 +0100

omap3-sgx-modules: make 1.4.14.2514 the default and make it build against 2.6.32
libgles-omap3: make 3.01.00.02 the default and attempt to fix file permissions

---

 recipes/powervr-drivers/libgles-omap3.inc          |    4 ++++
 .../powervr-drivers/libgles-omap3_3.01.00.02.bb    |    3 ++-
 .../omap3-sgx-modules_1.4.14.2514.bb               |    8 ++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 360cb77..bf7adaa 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -75,6 +75,10 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
 
 
 do_compile() {
+    for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do
+        chmod 0644 $i
+    done 
+
     for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so")   $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do
         if [ "$(readlink -n ${sofile})" = "" ] ; then
             mv $sofile ${sofile}.${IMGPV}
diff --git a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
index 7d5af47..532f7bb 100644
--- a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
+++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
@@ -1,8 +1,9 @@
 BINLOCATION = "${S}/gfx_rel_es3.x"
 
+DEFAULT_PREFERENCE = "2"
+
 require libgles-omap3.inc
 
-DEFAULT_PREFERENCE = "-1"
 # download required binary distribution from:
 # http://software-dl.ti.com/dsps/forms/export.html?prod_no=/OMAP35x_Graphics_SDK_setuplinux_3_01_00_02.bin
 
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb
index a2c4d32..efb4531 100644
--- a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb
@@ -1,8 +1,7 @@
 DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
 LICENSE = "GPLv2"
 
-DEFAULT_PREFERENCE = "-1"
-
+PR_append = "a"
 
 # download required binary distribution from:
 # http://software-dl.ti.com/dsps/forms/export.html?prod_no=/OMAP35x_Graphics_SDK_setuplinux_3_01_00_02.bin
@@ -14,8 +13,9 @@ SGXPV = "3_01_00_02"
 IMGPV = "1.4.14.2514"
 BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin"
 
-SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin"
-
+SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
+           file://0001-Compile-fixes-for-recent-kernels.patch;patch=1 \
+"
 S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}/GFX_Linux_KM"
 
 inherit module





More information about the Openembedded-commits mailing list