omap3-sgx-modules: make 1.4.14.2514 the default and make it build against 2.6.32
authorKoen Kooi <koen@openembedded.org>
Wed, 13 Jan 2010 20:31:55 +0000 (21:31 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 13 Jan 2010 20:31:55 +0000 (21:31 +0100)
libgles-omap3: make 3.01.00.02 the default and attempt to fix file permissions

recipes/powervr-drivers/libgles-omap3.inc
recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb

index 360cb77..bf7adaa 100644 (file)
@@ -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}
index 7d5af47..532f7bb 100644 (file)
@@ -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
 
index a2c4d32..efb4531 100644 (file)
@@ -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