From: Matt Madison Date: Tue, 16 May 2017 15:15:10 +0000 (-0700) Subject: mesa: fix configuration rewrite X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=efa7da9da6c71ec8e5c0da64a274a33fa574b05e;p=meta-freescale.git 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 --- 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