summaryrefslogtreecommitdiffstats
path: root/meta/classes/typecheck.bbclass
blob: 160f7a024b94e2a4feb03899ca1ee8da8373eaac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#

# 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"