From 15d531bff1d30316c740a8fe85a024b1a69b8c5a Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Tue, 16 May 2017 08:15:10 -0700 Subject: [PATCH] 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 7d9d3459..eaa94eef 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")) } # Enable Etnaviv support -- 2.40.1