# We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" # We have a packages directory, add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "qcom" BBFILE_PATTERN_qcom := "^${LAYERDIR}/" BBFILE_PRIORITY_qcom = "5" LAYERSERIES_COMPAT_qcom = "sumo" # Let us add layer-specific bbappends which are only applied when that # layer is included in our configuration # includes customization and/or backports BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ for layer in BBFILE_COLLECTIONS.split())}" # Add layer-specific bb files too BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ for layer in BBFILE_COLLECTIONS.split())}" # Add layer-specific .bb and .bbappend files, when meta-backports is included in the # configuration. BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \ ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bbappend' % layer \ for layer in BBFILE_COLLECTIONS.split()),'',d)}" BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \ ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bb' % layer \ for layer in BBFILE_COLLECTIONS.split()),'',d)}"