summaryrefslogtreecommitdiff
path: root/conf/layer.conf
blob: dc9c12ccac5aed72564692ef28149ec0c8c04e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

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

BBFILE_COLLECTIONS += "toradex-bsp-common-layer"
BBFILE_PATTERN_toradex-bsp-common-layer = "^${LAYERDIR}/"
BBFILE_PRIORITY_toradex-bsp-common-layer = "90"

# Let us add layer-specific bbappends which are only applied when that
# layer is included in our configuration
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())}"

LAYERDEPENDS_toradex-bsp-common-layer = "core"
LAYERSERIES_COMPAT_toradex-bsp-common-layer = "sumo thud warrior"

BB_DANGLINGAPPENDS_WARNONLY = "true"