53841ce521
Now that bitbake supports masking events for event handlers, lets use this so event handlers are only called for events they care about. This lets us simplify the code indentation a bit at least as well as mildly improving the event handling performance. (From OE-Core rev: bff73743280f9eafebe4591f7368ead91a4eb74d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
315 B
Text
13 lines
315 B
Text
# Check types of bitbake configuration variables
|
|
#
|
|
# See oe.types for details.
|
|
|
|
python check_types() {
|
|
import oe.types
|
|
for key in e.data.keys():
|
|
if e.data.getVarFlag(key, "type"):
|
|
oe.data.typed_value(key, e.data)
|
|
}
|
|
addhandler check_types
|
|
check_types[eventmask] = "bb.event.ConfigParsed"
|