Lisa Liu | 2ed6cfc | 2019-04-09 14:52:34 +0800 | [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" |
| 15 | LAYERSERIES_COMPAT_lenovo-layer = "thud warrior" |
| 16 | |
| 17 | # Provide a variable that points the base of the lenovo layer. |
| 18 | LENOVOBASE = '${@os.path.normpath("${LAYERDIR}/")}' |