]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Support for mx6 without GPUs
authorLauren Post <lauren.post@freescale.com>
Fri, 24 Jul 2015 15:40:47 +0000 (10:40 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Jul 2015 02:26:59 +0000 (23:26 -0300)
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@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/mesa/mesa_%.bbappend

index ec11097ce7638737a0b546412b15dc964706c437..6cc7de70a3dccdc45fea4cab96c9cc52e32b8286 100644 (file)
@@ -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: Dirty hack to allow use of Vivante GPU libGL binary
 do_install_append_mx6 () {