aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2023-03-23 07:24:41 +0000
committerSamuli Piippo <samuli.piippo@qt.io>2023-03-27 10:39:43 +0000
commite54ee19bfaf3cefe09e13283f44c859ae96ec10d (patch)
tree0c35f194cc4f441250dc0379bfcd13ecad7ec1cc
parenta4bf9c64e5d6d7c8883c8d833622fd68a7845f01 (diff)
Make python-html5lib optional
Add python-html5lib to the SDK only if openembedded layer is available. Pick-to: 6.5 Change-Id: I381382c355e2834c2aadd5976e59007be0549ac9 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
-rw-r--r--recipes-qt/packagegroups/nativesdk-packagegroup-qt6-toolchain-host.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-qt6-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-qt6-toolchain-host.bb
index e40a263..d41d0e3 100644
--- a/recipes-qt/packagegroups/nativesdk-packagegroup-qt6-toolchain-host.bb
+++ b/recipes-qt/packagegroups/nativesdk-packagegroup-qt6-toolchain-host.bb
@@ -18,5 +18,5 @@ FORLINUXHOST = " \
nativesdk-cmake \
nativesdk-ninja \
nativesdk-perl-modules \
- nativesdk-python3-html5lib \
+ ${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'nativesdk-python3-html5lib', '', d)} \
"