aboutsummaryrefslogtreecommitdiffstats
path: root/meta-sokol-flex-distro/conf/layer.conf
blob: 4e93afeeb9a8cb409286c6fdc63ad5871efb4167 (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
# ---------------------------------------------------------------------------------------------------------------------
# SPDX-License-Identifier: MIT
# ---------------------------------------------------------------------------------------------------------------------

BBPATH .= ":${LAYERDIR}"
BBFILES += "\
    ${LAYERDIR}/recipes-*/*/*.bb \
    ${LAYERDIR}/recipes-*/*/*.bbappend \
"

DYNAMIC_DIRS_sokol-flex-distro = "${@' '.join(set(os.listdir('${LAYERDIR}/dynamic-layers')) & set(d.getVar('BBFILE_COLLECTIONS').split()))}"
BBFILES_DYNAMIC += "${@' '.join( \
    '%s:${LAYERDIR}/dynamic-layers/%s/recipes-*/*/*.bb %s:${LAYERDIR}/dynamic-layers/%s/recipes-*/*/*.bbappend' \
        % (layer, layer, layer, layer) \
    for layer in d.getVar('DYNAMIC_DIRS_sokol-flex-distro').split() \
)}"

BBFILE_COLLECTIONS += "sokol-flex-distro"
BBFILE_PRIORITY_sokol-flex-distro = "12"
BBFILE_PATTERN_sokol-flex-distro = "^${LAYERDIR_RE}/"
LAYERSERIES_COMPAT_sokol-flex-distro = "mickledore"
LAYERDEPENDS_sokol-flex-distro = "core sokol-flex-common"
LAYERRECOMMENDS_sokol-flex-distro = "sokol-flex-support sokol-flex-staging sourcery flex-private flex-cve flex-vendor-integration"
LAYERRECOMMENDS_sokol-flex-distro += "openembedded-layer filesystems-layer networking-layer multimedia-layer"

# We have it here because we use upstream virtualization layer without any changes
FEATUREOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', ':feature-virtualization', '', d)}"