1# We have a conf and classes directory, append to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have a recipes directory containing .bb and .bbappend files, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
6            ${LAYERDIR}/recipes*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "raspberrypi"
9BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/"
10BBFILE_PRIORITY_raspberrypi = "9"
11
12LAYERSERIES_COMPAT_raspberrypi = "nanbield scarthgap"
13LAYERDEPENDS_raspberrypi = "core"
14
15# Additional license directories.
16LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
17
18# The dynamic-layers directory hosts the extensions and layer specific
19# modifications.
20#
21# The .bbappend and .bb files are included if the respective layer
22# collection is available.
23BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \
24               for layer in BBFILE_COLLECTIONS.split())}"
25BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \
26               for layer in BBFILE_COLLECTIONS.split())}"
27
28BBFILES_DYNAMIC += " \
29    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
30    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
31    networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \
32    networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bbappend \
33    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
34    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
35    multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bb \
36    multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bbappend \
37"
38
39DEFAULT_TEST_SUITES:remove:rpi = "parselogs"
40DEFAULT_TEST_SUITES:append:rpi = " parselogs_rpi"
41