summaryrefslogtreecommitdiffstats
path: root/meta/classes/typecheck.bbclass
blob: 646cd4eed2fd5257bfeb571814a50b35a14528e9 (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.types.value(key, e.data)
}
addhandler check_types
OpenPOWER on IntegriCloud