summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-12-02 10:02:31 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2020-12-08 15:02:17 +0100
commit2bbf69104c8a95b0a433bd97b5a48bf9bbbd8e26 (patch)
tree93349474872d8bd24ab0ebbc9464da77556105a9
parent2c3cae3ccf92188ee859bb8cf40ab3c0801de3aa (diff)
packagegroup-tdx-qt5: also deploy qtwayland for imx6ull and mx7 boards
Without qtwayland deployed QT is not working on wayland. Related-to: ELB-3153 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 02e7cbe9ec44be6ea36095914c19a02a0ca925b4)
-rw-r--r--recipes-images/images/packagegroup-tdx-qt5.bb13
1 files changed, 10 insertions, 3 deletions
diff --git a/recipes-images/images/packagegroup-tdx-qt5.bb b/recipes-images/images/packagegroup-tdx-qt5.bb
index 0b3dd7f..ea14bc9 100644
--- a/recipes-images/images/packagegroup-tdx-qt5.bb
+++ b/recipes-images/images/packagegroup-tdx-qt5.bb
@@ -16,9 +16,16 @@ RRECOMMENDS_${PN} = " \
${PN}-fonts \
${PN}-libs \
"
-# Only install qtsmarthome with its dependencies on modules with limited storage
-RRECOMMENDS_${PN}_colibri-imx6ull = "qtsmarthome"
-RRECOMMENDS_${PN}_colibri-imx7 = "qtsmarthome"
+# Only install qtbase-examples with its dependencies on modules with limited
+# storage and no gpu.
+RRECOMMENDS_${PN}_colibri-imx6ull = " \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
+ qtbase-examples \
+"
+RRECOMMENDS_${PN}_colibri-imx7 = " \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
+ qtbase-examples \
+"
SUMMARY_${PN}-demos = "QT5 Demos"
RRECOMMENDS_${PN}-demos = " \