2b4b874e98eceebaae0482a9f6e2cb3720598726
[AGL/meta-agl.git] / meta-agl-bsp / conf / layer.conf
1 # We have a conf and classes directory, add to BBPATH
2 BBPATH =. "${LAYERDIR}:"
3
4 # Let us add layer-specific bbappends which are only applied when that
5 # layer is included in our configuration -
6 # e.g. only add layers if a bsp is present.
7 # This is based on the BBFILE_COLLECTIONS name of the layer.
8 # We use either the BBFILE_COLLECTIONS name of the layer directly (meta-ti)
9 BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
10                for layer in BBFILE_COLLECTIONS.split())}"
11 # or we prepend it with meta-  (e.g. rpi, fsl*)
12 BBFILES += "${@' '.join('${LAYERDIR}/meta-%s/recipes*/*/*.bbappend' % layer \
13                for layer in BBFILE_COLLECTIONS.split())}"
14
15 # Add shared recipes among BSPs
16 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
17
18 BBFILE_COLLECTIONS += "aglbsp"
19 BBFILE_PATTERN_aglbsp = "^${LAYERDIR}/"
20 BBFILE_PRIORITY_aglbsp = "7"