blob: 787b36dc5269558c5902271bb075c472dc54f336 [file] [log] [blame]
Brad Bishop93fb5352015-09-09 03:59:20 +00001# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
Brad Bishopff075f62018-08-31 06:25:51 -04005BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
Brad Bishop93fb5352015-09-09 03:59:20 +00007
Brad Bishopfb40bef2018-06-18 23:09:13 -04008BBFILE_COLLECTIONS += "phosphor-layer"
Brad Bishop177a37c2019-05-01 16:32:12 -04009BBFILE_PATTERN_phosphor-layer := "^${LAYERDIR}/"
Adriana Kobylak52578792021-08-11 15:48:25 +000010LAYERVERSION_phosphor-layer = "1"
Patrick Williamsce142622021-08-23 16:26:20 -050011LAYERSERIES_COMPAT_phosphor-layer = "hardknott honister"
Brad Bishop93fb5352015-09-09 03:59:20 +000012
Yong Li669b0be2017-12-19 22:06:00 +080013IMAGE_FEATURES[validitems] += "tools-profile"
14
Brad Bishop01ddfab2018-03-23 23:32:26 -040015# Let us add layer-specific bbappends which are only applied when that
16# layer is included in our configuration
17BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
18 for layer in BBFILE_COLLECTIONS.split())}"
19# Add layer-specific bb files too
20BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
21 for layer in BBFILE_COLLECTIONS.split())}"
Patrick Williams8045cc52022-02-18 14:47:01 -060022
23BBFILES_DYNAMIC += " \
24 aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bb \
25 aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bbappend \
26"