diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-06-12 12:02:43 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-06-12 14:18:36 +0300 |
commit | 3962b0d28716af53e6d0343f85bccaec22187d2c (patch) | |
tree | f0d2c86cb183fdb5adaf6433646181a3137bcf3e /conf/layer.conf | |
parent | 1bbd0fb4808f1ba64678c807d60717dc4127b993 (diff) | |
download | meta-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/layer.conf')
-rw-r--r-- | conf/layer.conf | 5 |
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 @@ | |||
24 | BBPATH .= ":${LAYERDIR}" | 24 | BBPATH .= ":${LAYERDIR}" |
25 | 25 | ||
26 | # We have a recipes directory, add to BBFILES | 26 | # We have a recipes directory, add to BBFILES |
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | 27 | BBFILES += "${LAYERDIR}/recipes/*/*.bb \ |
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | 28 | ${LAYERDIR}/recipes/*/*.bbappend \ |
29 | " | 29 | " |
30 | BBFILES += "${@bb.utils.contains("BBFILE_COLLECTIONS", "qt5-layer", "${LAYERDIR}/recipes-qt/*/*.bb ${LAYERDIR}/recipes-qt/*/*.bbappend" , "", d)}" | ||
30 | 31 | ||
31 | BBFILE_COLLECTIONS += "b2qt" | 32 | BBFILE_COLLECTIONS += "b2qt" |
32 | BBFILE_PATTERN_b2qt := "^${LAYERDIR}/" | 33 | BBFILE_PATTERN_b2qt := "^${LAYERDIR}/" |