to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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