aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/powervr-drivers
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-13 21:31:55 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-13 21:31:55 +0100
commit0d85e0aac0fa3628a73616647a51a0d699c1586b (patch)
treef0ed670f49046ff64ec8f08a066df89806905105 /recipes/powervr-drivers
parent75268ccf888a07612411491ee0ad3d2ca3366eb8 (diff)
downloadopenembedded-0d85e0aac0fa3628a73616647a51a0d699c1586b.tar.gz
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
Diffstat (limited to 'recipes/powervr-drivers')
-rw-r--r--recipes/powervr-drivers/libgles-omap3.inc4
-rw-r--r--recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb3
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb8
3 files changed, 10 insertions, 5 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 360cb7790e..bf7adaaa2f 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 7d5af472cf..532f7bb40c 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 a2c4d32aeb..efb453137f 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