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

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

DYNAMIC_DIRS_sokol-flex-support = "${@' '.join(set(os.listdir('${LAYERDIR}/dynamic-layers')) & set(d.getVar('BBFILE_COLLECTIONS').split())) if os.path.isdir('${LAYERDIR}/dynamic-layers') else ''}"
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-support').split() \
)}"

BBFILE_COLLECTIONS += "sokol-flex-support"
BBFILE_PRIORITY_sokol-flex-support = "4"
BBFILE_PATTERN_sokol-flex-support = "^${LAYERDIR_RE}/"
LAYERDEPENDS_sokol-flex-support = "core sokol-flex-common"
LAYERSERIES_COMPAT_sokol-flex-support = "mickledore"

PREFERRED_PROVIDER_virtual/nativesdk-update-alternatives ??= "nativesdk-opkg-utils"
PREFERRED_PROVIDER_chkconfig-alternatives ??= "chkconfig-alternatives"