1# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6            ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "phosphor-layer"
9BBFILE_PATTERN_phosphor-layer := "^${LAYERDIR}/"
10LAYERVERSION_phosphor-layer = "1"
11LAYERSERIES_COMPAT_phosphor-layer = "warrior zeus dunfell"
12
13IMAGE_FEATURES[validitems] += "tools-profile"
14
15# 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())}"
22