agl-selinux: pull in meta-clang
[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 BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
12                for layer in BBFILE_COLLECTIONS.split())}"
13 # or we prepend it with meta-  (e.g. rpi, fsl*)
14 BBFILES += "${@' '.join('${LAYERDIR}/meta-%s/recipes*/*/*.bbappend' % layer \
15                for layer in BBFILE_COLLECTIONS.split())}"
16 BBFILES += "${@' '.join('${LAYERDIR}/meta-%s/recipes*/*/*.bb' % layer \
17                for layer in BBFILE_COLLECTIONS.split())}"
18
19 # Add shared recipes among BSPs
20 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
21
22 BBFILE_COLLECTIONS += "aglbsp"
23 BBFILE_PATTERN_aglbsp = "^${LAYERDIR}/"
24 BBFILE_PRIORITY_aglbsp = "60"
25
26 LAYERSERIES_COMPAT_aglbsp = "scarthgap"