Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
| 4 | # We have recipes-* directories, add to BBFILES |
| 5 | BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/common/recipes-*/*/*.bbappend" |
| 7 | |
| 8 | BBFILE_COLLECTIONS += "obmc-phosphor" |
| 9 | BBFILE_PATTERN_obmc-phosphor = "^${LAYERDIR}/" |
| 10 | LAYERVERSION_obmc-phosphor = "1" |
| 11 | |
| 12 | # Provide a variable that points the base of the phosphor layer. |
| 13 | PHOSPHORBASE = '${@os.path.normpath("${LAYERDIR}/")}' |
Yong Li | 52e09b5 | 2017-12-19 22:06:00 +0800 | [diff] [blame] | 14 | |
| 15 | IMAGE_FEATURES[validitems] += "tools-profile" |
| 16 | |
Brad Bishop | 1bddfb1 | 2018-03-23 23:32:26 -0400 | [diff] [blame] | 17 | # Let us add layer-specific bbappends which are only applied when that |
| 18 | # layer is included in our configuration |
| 19 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ |
| 20 | for layer in BBFILE_COLLECTIONS.split())}" |
| 21 | # Add layer-specific bb files too |
| 22 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ |
| 23 | for layer in BBFILE_COLLECTIONS.split())}" |