generic-poky/meta/classes/typecheck.bbclass
Christopher Larson 49afb622c9 typecheck.bbclass: update per current variable typing code
(From OE-Core rev: 13fcda4b158ce944d64b22bd5b63ce0f51faad67)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11 17:50:50 +01:00

13 lines
323 B
Text

# 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