summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-06-12 12:02:43 +0300
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-06-12 14:18:36 +0300
commit3962b0d28716af53e6d0343f85bccaec22187d2c (patch)
treef0d2c86cb183fdb5adaf6433646181a3137bcf3e /conf
parent1bbd0fb4808f1ba64678c807d60717dc4127b993 (diff)
downloadmeta-boot2qt-3962b0d28716af53e6d0343f85bccaec22187d2c.tar.gz
Include Qt recipes only when meta-qt5 layer is used
If the meta-qt5 layer is not included in the BBLAYERS, then do not include our additional qt recipes from recipes-qt. This way meta-b2qt can be used with meta-qt5 just to build the base images/toolchain. By default, all bblayers.conf templates include meta-qt5, so it needs to be remove first to use this feature. Change-Id: I73b8f0e65a6f4f950498097a4801ba5f5325cd7d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/layer.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index ea30841..404957f 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -24,9 +24,10 @@
24BBPATH .= ":${LAYERDIR}" 24BBPATH .= ":${LAYERDIR}"
25 25
26# We have a recipes directory, add to BBFILES 26# We have a recipes directory, add to BBFILES
27BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ 27BBFILES += "${LAYERDIR}/recipes/*/*.bb \
28 ${LAYERDIR}/recipes*/*/*.bbappend \ 28 ${LAYERDIR}/recipes/*/*.bbappend \
29 " 29 "
30BBFILES += "${@bb.utils.contains("BBFILE_COLLECTIONS", "qt5-layer", "${LAYERDIR}/recipes-qt/*/*.bb ${LAYERDIR}/recipes-qt/*/*.bbappend" , "", d)}"
30 31
31BBFILE_COLLECTIONS += "b2qt" 32BBFILE_COLLECTIONS += "b2qt"
32BBFILE_PATTERN_b2qt := "^${LAYERDIR}/" 33BBFILE_PATTERN_b2qt := "^${LAYERDIR}/"