nativesdk-packagegroup-qt6-toolchain-host-addons: Add wayland dependent packages conditionally

This ensures that these packages are added only when wayland is
enabled in DISTRO_FEATURES, since now these packages do check for
this distro feature themselves, this fixes the SDK builds for eglfs
distros

Change-Id: If4f231ee8999b6a7499d63d4b0bd104ab1ff510d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 96af7a74c9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Khem Raj 2024-05-01 21:35:22 -07:00 committed by Qt Cherry-pick Bot
parent 9c396cfd8d
commit 79fd43b3e2

View File

@ -21,8 +21,7 @@ RDEPENDS:${PN} += " \
nativesdk-qtscxml-tools \
nativesdk-qtshadertools-dev \
nativesdk-qtshadertools-tools \
nativesdk-qtwayland-dev \
nativesdk-qtwayland-tools \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-qtwayland-dev nativesdk-qtwayland-tools', '', d)} \
${FORLINUXHOST} \
"