Patchwork [meta-fsl-arm,v2,07/15] mesa: Drop libGL when building for i.MX6

login
register
mail settings
Submitter Otavio Salvador
Date June 7, 2013, 3:27 p.m.
Message ID <1370618857-27287-8-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/51313/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - June 7, 2013, 3:27 p.m.
The Vivante GPU package provide a libGL library which we should use to
fully support the GPU features; so we drop the binary library from
mesa package.

Change-Id: I7e675e2fb6b9cf8600c7aa7fa961fc743bb051bc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/mesa/mesa_9.0.2.bbappend | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/recipes-graphics/mesa/mesa_9.0.2.bbappend b/recipes-graphics/mesa/mesa_9.0.2.bbappend
index 765e2f8..b0535a7 100644
--- a/recipes-graphics/mesa/mesa_9.0.2.bbappend
+++ b/recipes-graphics/mesa/mesa_9.0.2.bbappend
@@ -34,3 +34,8 @@  python __anonymous () {
         # We are now machine specific
         d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
 }
+
+# FIXME: Dirty hack to allow use of Vivante GPU libGL binary
+do_install_append_mx6 () {
+    rm ${D}${libdir}/libGL.*
+}