Brad Bishop | 702cb7b | 2019-05-30 14:22:15 -0400 | [diff] [blame] | 1 | #"Copyright ? 2019-present Lenovo |
| 2 | #Licensed under BSD-3, see COPYING.BSD file for details." |
| 3 | |
| 4 | |
| 5 | # We have a conf and classes directory, add to BBPATH |
| 6 | BBPATH .= ":${LAYERDIR}" |
| 7 | |
| 8 | # We have recipes-* directories, add to BBFILES |
| 9 | BBFILES += "${LAYERDIR}/meta-common/recipes-*/*/*.bb \ |
| 10 | ${LAYERDIR}/meta-common/recipes-*/*/*.bbappend" |
| 11 | |
| 12 | BBFILE_COLLECTIONS += "lenovo-layer" |
| 13 | BBFILE_PATTERN_lenovo-layer = "" |
| 14 | LAYERVERSION_lenovo-layer = "1" |
Andrew Geissler | 5cbb9c9 | 2021-03-31 15:08:43 -0500 | [diff] [blame] | 15 | LAYERSERIES_COMPAT_lenovo-layer = "gatesgarth hardknott" |
Brad Bishop | 702cb7b | 2019-05-30 14:22:15 -0400 | [diff] [blame] | 16 | |
| 17 | # Provide a variable that points the base of the lenovo layer. |
| 18 | LENOVOBASE = '${@os.path.normpath("${LAYERDIR}/")}' |