[meta-freescale] [meta-fsl-arm][PATCH 60/60] mesa: corrects do_install task in mesa recipe

Ronaldo Nunez ronaldo.viera at gmail.com
Wed Apr 9 04:07:43 PDT 2014


The new mesa recipe from 'dora' branch of poky repository
looks for egl support checking the PACKAGECONFIG variable,
but in 'meta-fsl-arm' the egl support is disabled.

The patch removes egl and gles parameters from PACKAGECONFIG.

Signed-off-by: Ronaldo Nunez <ronaldo.viera at gmail.com>
---
 recipes-graphics/mesa/mesa_9.1.6.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/recipes-graphics/mesa/mesa_9.1.6.bbappend b/recipes-graphics/mesa/mesa_9.1.6.bbappend
index 9975abc..69be099 100644
--- a/recipes-graphics/mesa/mesa_9.1.6.bbappend
+++ b/recipes-graphics/mesa/mesa_9.1.6.bbappend
@@ -20,6 +20,16 @@ python __anonymous () {
             new_extra_oeconf.append(i)
 
         d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
+	
+	# Remove egl and gles from PACKAGECONFIG
+        packageconfig = d.getVar('PACKAGECONFIG', True).split()
+        take_out = ['egl', 'gles']
+        new_packageconfig = []
+        for i in packageconfig:
+            if i not in take_out:
+                new_packageconfig.append(i)
+
+        d.setVar('PACKAGECONFIG', ' '.join(new_packageconfig))
 
         # Remove itens from provides
         provides = d.getVar('PROVIDES', True).split()
-- 
1.8.1.2



More information about the meta-freescale mailing list