diff options
| author | Matt Madison <matt@madison.systems> | 2017-05-16 08:15:10 -0700 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-05-19 07:57:09 -0300 |
| commit | 15d531bff1d30316c740a8fe85a024b1a69b8c5a (patch) | |
| tree | 9a6b4c19ca19110057b9f3258692ebb14c10316e | |
| parent | ae6434f5f389a32cfc2a674f82f3f807cc721135 (diff) | |
| download | meta-freescale-15d531bff1d30316c740a8fe85a024b1a69b8c5a.tar.gz | |
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 <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 7d9d34593..eaa94eef1 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -9,9 +9,8 @@ python () { | |||
| 9 | if "imxgpu2d" not in overrides: | 9 | if "imxgpu2d" not in overrides: |
| 10 | return | 10 | return |
| 11 | 11 | ||
| 12 | extra_oeconf = d.getVar("EXTRA_OECONF", True) | 12 | x11flag = d.getVarFlag("PACKAGECONFIG", "x11", False) |
| 13 | extra_oeconf = extra_oeconf.replace("--enable-glx-tls", "--enable-glx") | 13 | d.setVarFlag("PACKAGECONFIG", "x11", x11flag.replace("--enable-glx-tls", "--enable-glx")) |
| 14 | d.setVar("EXTRA_OECONF", extra_oeconf) | ||
| 15 | } | 14 | } |
| 16 | 15 | ||
| 17 | # Enable Etnaviv support | 16 | # Enable Etnaviv support |
