summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-03-19 20:11:40 +0100
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:27 +0200
commit91f4c88f233c26f434d182e0c00c22709a8496fb (patch)
tree3472dce07294f37dbee4c45faeeeec99bdb9360b /recipes
parentc3c7c8eac979e1c5a4369d30bf7f2ca1814772c1 (diff)
libgles-omap3: fix ES5.x binaries, fix initscript
Diffstat (limited to 'recipes')
-rw-r--r--recipes/powervr-drivers/libgles-omap3.inc4
-rwxr-xr-xrecipes/powervr-drivers/libgles-omap3/rc.pvr6
-rw-r--r--recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb2
3 files changed, 10 insertions, 2 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 55a020686f..2adcb8b1f8 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -177,7 +177,7 @@ do_install () {
if [ -e ${ES5LOCATION} ] ; then
cp -pPR ${ES5LOCATION}/lib*${IMGPV} ${D}${libdir}/ES5.0/
- cp ${ES3LOCATION}/p[dv]* ${D}${bindir}/ES5.0/
+ cp ${ES5LOCATION}/p[dv]* ${D}${bindir}/ES5.0/
fi
install -d ${D}${prefix}/share/applications
@@ -245,6 +245,8 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
# Append to update-rc.d postinst
pkg_postinst_${PN}_append() {
+rm -f /etc/powervr-esrev
+
ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0
}
diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index b0b9043b82..4fbda014f9 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -13,7 +13,7 @@ fi
if [ "$1" = "stop" -o "$1" = "restart" ]; then
echo Stopping PVR
- #rmmod bc_example
+ rmmod bufferclass_ti
rmmod omaplfb 2>/dev/null
rmmod pvrsrvkm 2>/dev/null
fi
@@ -47,6 +47,10 @@ if [ $CPUTYPE = "OMAP3530" ]; then
mknod /dev/pvrsrvkm c $pvr_maj 0
chmod 666 /dev/pvrsrvkm
+ if [ -e /dev/bc_cat ] ; then
+ rm -f /dev/bc_cat
+ fi
+
mknod /dev/bc_cat c $bc_maj 0
chmod 666 /dev/bc_cat
diff --git a/recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb b/recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb
index 4d98186e2e..daac041c75 100644
--- a/recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb
+++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb
@@ -1,5 +1,7 @@
DEFAULT_PREFERENCE = "-1"
+PR = "r1"
+
BINLOCATION = "${S}/gfx_rel_es3.x"
ES2LOCATION = "${S}/gfx_rel_es2.x"