Skip to content

Commit

Permalink
qt5.inc: Use weston IMAGE_FEATURE
Browse files Browse the repository at this point in the history
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Mar 15, 2021
1 parent e559eb4 commit b0357df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sources/meta-yoe/recipes-core/images/qt5.inc
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"

X11BASE = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)}"
IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', '', '${X11BASE}', d)}"
IMAGE_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', '', '${X11BASE}', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', '', d)} \
"

CORE_IMAGE_BASE_INSTALL += " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston weston-init weston-examples qtwayland-plugins', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', 'weston-xwayland', '', d)} \
${QT5APPS} \
${QT5BASE} \
Expand Down

0 comments on commit b0357df

Please sign in to comment.