[meta-freescale] [meta-fsl-arm][v3 07/12] mesa: Support for mx6 without GPUs

Lauren Post lauren.post at freescale.com
Fri Jul 24 08:40:47 PDT 2015


Fix to support future mx6 i.MX 6UltraLite which does not have a
GPU.  This SoC will use mesa so mesa changes before should be more
SoC specific to allow future mx6 SoC without GPU to use mesa.

Signed-off-by: Lauren Post <lauren.post at freescale.com>
---
 recipes-graphics/mesa/mesa_%.bbappend |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 9bebb92..f8cf1bc 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,17 +1,22 @@
 PACKAGECONFIG_remove_mx5 = "egl gles"
 PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl"
 
-PACKAGECONFIG_remove_mx6 = "egl gles"
+PACKAGECONFIG_remove_mx6q  = "egl gles"
+PACKAGECONFIG_remove_mx6dl = "egl gles"
+PACKAGECONFIG_remove_mx6sx = "egl gles"
+PACKAGECONFIG_remove_mx6sl = "egl gles"
 
 # i.MX6SL uses mesa software rendering
 
-PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl"
-PROVIDES_remove_mx6q = "virtual/libgl"
-PROVIDES_remove_mx6dl = "virtual/libgl"
-PROVIDES_remove_mx6sx = "virtual/libgl"
+PROVIDES_remove_mx6q = "virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgl"
+PROVIDES_remove_mx6dl = "virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgl"
+PROVIDES_remove_mx6sx = "virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgl"
+PROVIDES_remove_mx6sl = "virtual/libgles1 virtual/libgles2 virtual/egl"
 
-USE_VIV_LIBGL = "yes"
-USE_VIV_LIBGL_mx6sl = "no"
+USE_VIV_LIBGL = "no"
+USE_VIV_LIBGL_mx6q = "yes"
+USE_VIV_LIBGL_mx6dl = "yes"
+USE_VIV_LIBGL_mx6sx = "yes"
 
 # FIXME: mesa should support 'x11-no-tls' option
 python () {
-- 
1.7.9.5



More information about the meta-freescale mailing list