From acfdfe393b841a5714ee920f92676c83e1bbc8c7 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 9 Mar 2017 16:50:02 -0300 Subject: mesa: Enable Etnaviv support when using 'use-mainline-bsp' override This enables the Gallium backend and its Etnaviv driver. Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b Signed-off-by: Otavio Salvador --- recipes-graphics/mesa/mesa_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-graphics/mesa') 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.* \ -- cgit v1.2.3-54-g00ecf