libgles-omap3: fix ES5.x binaries, fix initscript
authorKoen Kooi <k-kooi@ti.com>
Fri, 19 Mar 2010 19:11:40 +0000 (20:11 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 22 Jan 2011 22:14:30 +0000 (00:14 +0200)
recipes/powervr-drivers/libgles-omap3.inc
recipes/powervr-drivers/libgles-omap3/rc.pvr
recipes/powervr-drivers/libgles-omap3_3.01.00.05.bb

index 55a0206..2adcb8b 100644 (file)
@@ -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
 }
index b0b9043..4fbda01 100755 (executable)
@@ -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
 
index 4d98186..daac041 100644 (file)
@@ -1,5 +1,7 @@
 DEFAULT_PREFERENCE = "-1"
 
+PR = "r1"
+
 BINLOCATION = "${S}/gfx_rel_es3.x"
 
 ES2LOCATION = "${S}/gfx_rel_es2.x"