From fd96dfcf0adda52cc37de23ad65891ea1a590163 Mon Sep 17 00:00:00 2001 From: Lauren Post Date: Fri, 24 Jul 2015 10:40:47 -0500 Subject: mesa: Support for mx6 without GPUs 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 Signed-off-by: Otavio Salvador --- 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 ec11097..6cc7de7 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: Dirty hack to allow use of Vivante GPU libGL binary do_install_append_mx6 () { -- cgit v1.2.3-54-g00ecf