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 |
Brad Bishop | ff075f6 | 2018-08-31 06:25:51 -0400 | [diff] [blame] | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 7 | |
Brad Bishop | fb40bef | 2018-06-18 23:09:13 -0400 | [diff] [blame] | 8 | BBFILE_COLLECTIONS += "phosphor-layer" |
Brad Bishop | 177a37c | 2019-05-01 16:32:12 -0400 | [diff] [blame] | 9 | BBFILE_PATTERN_phosphor-layer := "^${LAYERDIR}/" |
Brad Bishop | fb40bef | 2018-06-18 23:09:13 -0400 | [diff] [blame] | 10 | LAYERVERSION_phosphor-layer = "1" |
Andrew Geissler | 45a4242 | 2020-04-13 14:48:19 -0500 | [diff] [blame] | 11 | LAYERSERIES_COMPAT_phosphor-layer = "warrior zeus dunfell" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 12 | |
Yong Li | 669b0be | 2017-12-19 22:06:00 +0800 | [diff] [blame] | 13 | IMAGE_FEATURES[validitems] += "tools-profile" |
| 14 | |
Brad Bishop | 01ddfab | 2018-03-23 23:32:26 -0400 | [diff] [blame] | 15 | # Let us add layer-specific bbappends which are only applied when that |
| 16 | # layer is included in our configuration |
| 17 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ |
| 18 | for layer in BBFILE_COLLECTIONS.split())}" |
| 19 | # Add layer-specific bb files too |
| 20 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ |
| 21 | for layer in BBFILE_COLLECTIONS.split())}" |