cmake: Place the bbappend only for dora builds

Not sure if they are needed for pyro but this layer will be rarely
used with pyro but need to continue to work for dora. This could
work.
This commit is contained in:
Holger Hans Peter Freyther 2017-05-16 16:25:46 +08:00
parent 8073a33e2c
commit eca7186eaa
3 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
# Add hacks for dora or master..
BBFILES_META_QT5 = "${LAYERDIR}/yocto-${@dict([('1.5', 'dora')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'master')}/*.bbappend"
BBFILES += "{BBFILES_META_QT5}"
BBFILE_COLLECTIONS += "qt5-layer"
BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/"