]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Enable Etnaviv support when using 'use-mainline-bsp' override
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 9 Mar 2017 19:50:02 +0000 (16:50 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 27 Mar 2017 14:52:58 +0000 (11:52 -0300)
This enables the Gallium backend and its Etnaviv driver.

Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/mesa/mesa_%.bbappend

index 3005fd739efb987e0f257a8f77a80a131edc8529..7d9d34593c6dba3b215c578a68a9d1d9532353b5 100644 (file)
@@ -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.* \