summaryrefslogtreecommitdiffstats
path: root/meta/classes/typecheck.bbclass
blob: 86fcf28942d18f56a44f11588482da1c5f1ded09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Copyright OpenEmbedded Contributors
#

# Check types of bitbake configuration variables
#
# See oe.types for details.

python check_types() {
    import oe.types
    for key in e.data.keys():
        if e.data.getVarFlag(key, "type"):
            oe.data.typed_value(key, e.data)
}
addhandler check_types
check_types[eventmask] = "bb.event.ConfigParsed"