[meta-freescale] [PATCH 3/5] mesa: Enable Etnaviv support when using 'use-mainline-bsp' override

Otavio Salvador otavio at ossystems.com.br
Fri Mar 24 13:00:11 PDT 2017


This enables the Gallium backend and its Etnaviv driver.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 recipes-graphics/mesa/mesa_%.bbappend | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 3005fd73..7d9d3459 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -14,6 +14,10 @@ python () {
     d.setVar("EXTRA_OECONF", extra_oeconf)
 }
 
+# Enable Etnaviv support
+PACKAGECONFIG_append_use-mainline-bsp = " gallium"
+GALLIUMDRIVERS_append_use-mainline-bsp = ",etnaviv,imx"
+
 # FIXME: Dirty hack to allow use of Vivante GPU libGL binary
 do_install_append_imxgpu3d () {
     rm -f ${D}${libdir}/libGL.* \
-- 
2.12.1



More information about the meta-freescale mailing list