[meta-freescale] [PATCH 1/1] mesa: fix configuration rewrite
Matt Madison
matt at madison.systems
Tue May 16 08:15:10 PDT 2017
to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).
Signed-off-by: Matt Madison <matt at madison.systems>
---
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 7d9d345..eaa94ee 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.7.4
More information about the meta-freescale
mailing list