Brad Bishop | 0e8aea6 | 2015-09-25 14:31:27 -0400 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
Brad Bishop | 7fe43db | 2016-04-15 09:53:23 -0400 | [diff] [blame] | 4 | # We have recipes-* directories, add to BBFILES |
Brad Bishop | d3f7893 | 2018-08-31 06:30:50 -0400 | [diff] [blame] | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
Patrick Williams | be0ce66 | 2016-04-01 15:48:43 -0500 | [diff] [blame] | 7 | |
Brad Bishop | 07c098b | 2018-09-18 10:29:42 -0400 | [diff] [blame] | 8 | BBFILE_COLLECTIONS += "openpower-layer" |
| 9 | BBFILE_PATTERN_openpower-layer = "^${LAYERDIR}/" |
| 10 | LAYERVERSION_openpower-layer = "1" |
| 11 | LAYERSERIES_COMPAT_openpower-layer = "sumo" |
Brad Bishop | 2879d32 | 2018-11-07 14:45:23 -0500 | [diff] [blame^] | 12 | |
| 13 | # Provide a variable that points the base of the openpower layer. |
| 14 | OPENPOWERBASE = '${@os.path.normpath("${LAYERDIR}/")}' |