]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Avoid removing virtual/libgl provider for i.MX5 SoCs
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 20 Jul 2013 17:45:20 +0000 (14:45 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 20 Jul 2013 21:48:42 +0000 (18:48 -0300)
The AMD GPU libraries does not provide a libGL so we need to rely on
mesa one. This fixes a regression introduced by ea8d003
(gpu-viv-bin-mx6q, mesa: fix virtual/libgl dependencies) as the
virtual/libgl removal needs to be done /only/ for i.MX6 SoCs.

Change-Id: I1f83eff3c2f39ba801dbf6be61b7814fa1bb84fd
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/mesa/mesa_9.1.3.bbappend

index 9308952eee8b4f804a53095b5fd96d26a418d6e4..4b3b10bedf21203aed18e805314de49cd245bc77 100644 (file)
@@ -23,7 +23,9 @@ python __anonymous () {
 
         # Remove itens from provides
         provides = d.getVar('PROVIDES', True).split()
-        take_out = ['virtual/libgles1', 'virtual/libgles2', 'virtual/egl', 'virtual/libgl']
+        take_out = ['virtual/libgles1', 'virtual/libgles2', 'virtual/egl']
+        if 'mx6' in cur_soc_families.split(':'):
+            take_out.append('virtual/libgl')
         new_provides = []
         for i in provides:
             if i not in take_out: