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

python check_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