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 | 4348315 | 2016-04-15 09:53:23 -0400 | [diff] [blame] | 4 | # We have recipes-* directories, add to BBFILES |
Brad Bishop | 2c8db56 | 2018-08-31 06:30:50 -0400 | [diff] [blame] | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
Patrick Williams | 8b2ab9b | 2016-04-01 15:48:43 -0500 | [diff] [blame] | 7 | |
Brad Bishop | 4719e69 | 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" |
Brad Bishop | f092fc8 | 2018-12-13 14:10:38 -0500 | [diff] [blame] | 11 | LAYERSERIES_COMPAT_openpower-layer = "thud" |
Brad Bishop | fb0415e | 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}/")}' |