aboutsummaryrefslogtreecommitdiffstats
path: root/conf/layer.conf
blob: 5b8551f65d729bf4828aca940defb7db059a39f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a packages directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "qcom"
BBFILE_PATTERN_qcom := "^${LAYERDIR}/"
BBFILE_PRIORITY_qcom = "5"
LAYERSERIES_COMPAT_qcom = "sumo"

# Let us add layer-specific bbappends which are only applied when that
# layer is included in our configuration
# includes customization and/or backports
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
              for layer in BBFILE_COLLECTIONS.split())}"
# Add layer-specific bb files too
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
              for layer in BBFILE_COLLECTIONS.split())}"

# Add layer-specific .bb and .bbappend files, when meta-backports is included in the
# configuration.
BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \
              ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bbappend' % layer \
              for layer in BBFILE_COLLECTIONS.split()),'',d)}"

BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \
              ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bb' % layer \
              for layer in BBFILE_COLLECTIONS.split()),'',d)}"