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