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" |
Brad Bishop | edd448c | 2018-06-27 21:05:51 -0400 | [diff] [blame] | 11 | LAYERSERIES_COMPAT_obmc-phosphor = "sumo" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 12 | |
| 13 | # Provide a variable that points the base of the phosphor layer. |
| 14 | PHOSPHORBASE = '${@os.path.normpath("${LAYERDIR}/")}' |
Yong Li | 669b0be | 2017-12-19 22:06:00 +0800 | [diff] [blame] | 15 | |
| 16 | IMAGE_FEATURES[validitems] += "tools-profile" |
| 17 | |
Brad Bishop | 01ddfab | 2018-03-23 23:32:26 -0400 | [diff] [blame] | 18 | # Let us add layer-specific bbappends which are only applied when that |
| 19 | # layer is included in our configuration |
| 20 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ |
| 21 | for layer in BBFILE_COLLECTIONS.split())}" |
| 22 | # Add layer-specific bb files too |
| 23 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ |
| 24 | for layer in BBFILE_COLLECTIONS.split())}" |