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}/" |
Adriana Kobylak | 5257879 | 2021-08-11 15:48:25 +0000 | [diff] [blame] | 10 | LAYERVERSION_phosphor-layer = "1" |
Patrick Williams | ce14262 | 2021-08-23 16:26:20 -0500 | [diff] [blame] | 11 | LAYERSERIES_COMPAT_phosphor-layer = "hardknott honister" |
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())}" |
Patrick Williams | 8045cc5 | 2022-02-18 14:47:01 -0600 | [diff] [blame^] | 22 | |
| 23 | BBFILES_DYNAMIC += " \ |
| 24 | aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bb \ |
| 25 | aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bbappend \ |
| 26 | " |