# We have a conf and classes directory, add to BBPATH | |
BBPATH .= ":${LAYERDIR}" | |
# We have recipes-* directories, add to BBFILES | |
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | |
${LAYERDIR}/recipes-*/*/*.bbappend" | |
BBFILE_COLLECTIONS += "openpower-layer" | |
BBFILE_PATTERN_openpower-layer = "^${LAYERDIR}/" | |
LAYERVERSION_openpower-layer = "1" | |
LAYERSERIES_COMPAT_openpower-layer = "thud warrior" | |
# Provide a variable that points the base of the openpower layer. | |
OPENPOWERBASE = '${@os.path.normpath("${LAYERDIR}/")}' |