to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).

Signed-off-by: Matt Madison <matt@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

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to