Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 1 | # We have a conf and classes directory, append to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
| 4 | # We have a recipes directory containing .bb and .bbappend files, add to BBFILES |
| 5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes*/*/*.bbappend" |
| 7 | |
| 8 | BBFILE_COLLECTIONS += "raspberrypi" |
| 9 | BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/" |
| 10 | BBFILE_PRIORITY_raspberrypi = "9" |
| 11 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | LAYERSERIES_COMPAT_raspberrypi = "sumo" |
| 13 | |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 14 | # Additional license directories. |
| 15 | LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" |
| 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | # The dynamic-layers directory hosts the extensions and layer specific |
| 18 | # modifications. |
| 19 | # |
| 20 | # The .bbappend and .bb files are included if the respective layer |
| 21 | # collection is available. |
| 22 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \ |
| 23 | for layer in BBFILE_COLLECTIONS.split())}" |
| 24 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \ |
| 25 | for layer in BBFILE_COLLECTIONS.split())}" |