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:
parent
8073a33e2c
commit
eca7186eaa
|
@ -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}/"
|
||||
|
||||
|
|
Loading…
Reference in New Issue