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 | |
| 12 | # Additional license directories. |
| 13 | LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" |
| 14 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | # The dynamic-layers directory hosts the extensions and layer specific |
| 16 | # modifications. |
| 17 | # |
| 18 | # The .bbappend and .bb files are included if the respective layer |
| 19 | # collection is available. |
| 20 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \ |
| 21 | for layer in BBFILE_COLLECTIONS.split())}" |
| 22 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \ |
| 23 | for layer in BBFILE_COLLECTIONS.split())}" |