diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-14 10:19:27 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-09-15 11:51:54 -0500 |
commit | 80d0c87877bc83f265dcae14d46fb6519686ec91 (patch) | |
tree | 2807b5cdf992d9afcb38d34a1fd028924eee7d2f /recipes-graphics/gtk+ | |
parent | f00fb04d01505ed23cd85ad3113d45d7512e8c18 (diff) | |
download | meta-freescale-80d0c87877bc83f265dcae14d46fb6519686ec91.tar.gz |
gtk+3: Fix logical error in removing x11
Last commit had a thinko, where it should be removing x11 only if x11 is
not in distro features, but it ended up doing that for wayland
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7447f7c8784883589195a83e27f8cb0ad430e88e)
Diffstat (limited to 'recipes-graphics/gtk+')
-rw-r--r-- | recipes-graphics/gtk+/gtk+3_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend index fe88c0ad..c4fdfff9 100644 --- a/recipes-graphics/gtk+/gtk+3_%.bbappend +++ b/recipes-graphics/gtk+/gtk+3_%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | DEPENDS:append:imxgpu2d = " virtual/egl" | 1 | DEPENDS:append:imxgpu2d = " virtual/egl" |
2 | 2 | ||
3 | WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'wayland', d)}" | 3 | WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'x11', d)}" |
4 | WAYLANDONLY = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${WAYLAND}', '', d)}" | 4 | WAYLANDONLY = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${WAYLAND}', '', d)}" |
5 | 5 | ||
6 | PACKAGECONFIG:remove:imxgpu2d = " ${WAYLANDONLY}" | 6 | PACKAGECONFIG:remove:imxgpu2d = " ${WAYLANDONLY}" |