blob: 160f7a024b94e2a4feb03899ca1ee8da8373eaac [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007# Check types of bitbake configuration variables
8#
9# See oe.types for details.
10
11python check_types() {
12 import oe.types
13 for key in e.data.keys():
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014 if e.data.getVarFlag(key, "type"):
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 oe.data.typed_value(key, e.data)
16}
17addhandler check_types
18check_types[eventmask] = "bb.event.ConfigParsed"