Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # Check types of bitbake configuration variables |
2 | # | ||||
3 | # See oe.types for details. | ||||
4 | |||||
5 | python check_types() { | ||||
6 | import oe.types | ||||
7 | for key in e.data.keys(): | ||||
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | if e.data.getVarFlag(key, "type", True): |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | oe.data.typed_value(key, e.data) |
10 | } | ||||
11 | addhandler check_types | ||||
12 | check_types[eventmask] = "bb.event.ConfigParsed" |