blob: c9054667335c962c8a5e92b27b5b44021549f4ef [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
5BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
6 ${LAYERDIR}/common/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "obmc-phosphor"
9BBFILE_PATTERN_obmc-phosphor = "^${LAYERDIR}/"
10LAYERVERSION_obmc-phosphor = "1"
Brad Bishopb0c88d62018-06-27 21:05:51 -040011LAYERSERIES_COMPAT_obmc-phosphor = "sumo"
Brad Bishop93fb5352015-09-09 03:59:20 +000012
13# Provide a variable that points the base of the phosphor layer.
14PHOSPHORBASE = '${@os.path.normpath("${LAYERDIR}/")}'
Yong Li52e09b52017-12-19 22:06:00 +080015
16IMAGE_FEATURES[validitems] += "tools-profile"
17
Brad Bishop1bddfb12018-03-23 23:32:26 -040018# Let us add layer-specific bbappends which are only applied when that
19# layer is included in our configuration
20BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
21 for layer in BBFILE_COLLECTIONS.split())}"
22# Add layer-specific bb files too
23BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
24 for layer in BBFILE_COLLECTIONS.split())}"