From efa7da9da6c71ec8e5c0da64a274a33fa574b05e Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Tue, 16 May 2017 08:15:10 -0700 Subject: mesa: fix configuration rewrite to change just the PACKAGECONFIG[x11] setting (without expansion), instead of overwriting EXTRA_OECONF (with expansion). Signed-off-by: Matt Madison Signed-off-by: Otavio Salvador --- recipes-graphics/mesa/mesa_%.bbappend | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 3005fd73..863131d1 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -9,9 +9,8 @@ python () { if "imxgpu2d" not in overrides: return - extra_oeconf = d.getVar("EXTRA_OECONF", True) - extra_oeconf = extra_oeconf.replace("--enable-glx-tls", "--enable-glx") - d.setVar("EXTRA_OECONF", extra_oeconf) + x11flag = d.getVarFlag("PACKAGECONFIG", "x11", False) + d.setVarFlag("PACKAGECONFIG", "x11", x11flag.replace("--enable-glx-tls", "--enable-glx")) } # FIXME: Dirty hack to allow use of Vivante GPU libGL binary -- cgit v1.2.3-54-g00ecf