BBPATH .= ":${LAYERDIR}" BBFILES += "${LAYERDIR}/recipes/*/*.bb \ ${LAYERDIR}/recipes/*/*.bbappend" BBFILE_COLLECTIONS += "sourcery" BBFILE_PRIORITY_sourcery = "10" BBFILE_PATTERN_sourcery = "^${LAYERDIR}/" # Let us add layer-specific bbappends which are only applied when that # layer is included in our configuration BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ for layer in BBFILE_COLLECTIONS.split())}" TCMODE = "external-sourcery"