diff options
| -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 |
