sunxi-mali: bug fixes for pc and init script
authorSpenser Gilliland <spenser@gillilanding.com>
Sat, 24 Aug 2013 19:41:57 +0000 (14:41 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Aug 2013 11:44:55 +0000 (13:44 +0200)
fix bad escape sequences in init script and add correct lib for pc file.

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sunxi-mali/S80mali
package/sunxi-mali/glesv2.pc

index 6f51cc4745c63b3dd7b5c405614e1438e6ae130e..ecfbab97b4ae02df59b569f39d1c91ad6281a7fe 100644 (file)
@@ -5,7 +5,7 @@ install_driver() {
        OPTS=$2
 
        modprobe $DRIVER $OPTS
-       maj=$(awk "$$2==\"${DRIVER}\" { print $$1; }" /proc/devices)
+       maj=$(awk "\$2==\"${DRIVER}\" { print \$1; }" /proc/devices)
 
        rm -f /dev/${DRIVER}
 
index 4e112eeafb4275c227a4f637cfd8c36b0aaa6022..9273678093f038be0dad02aa7919bb5d186c6b18 100644 (file)
@@ -7,6 +7,6 @@ Name: glesv2
 Description: ARM Mali implementation of OpenGL ESv2
 Version: 2.0
 Requires:
-Libs: -L${libdir} -lGLESv2 -lGLES_CM -lUMP
+Libs: -L${libdir} -lGLESv2 -lGLESv1_CM -lUMP
 Cflags: -I${includedir}/GLES2