summaryrefslogtreecommitdiffstats
path: root/meta/classes/typecheck.bbclass
blob: 353532d73cf919eedd2b7bb3f790a61dedc518a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Check types of bitbake configuration variables
#
# See oe.types for details.

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