7fa6eeba1c
This sets the scene for removing the default False for expansion from getVarFlag. This would later allow True to become the default. On the most part this is an automatic translation with: sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, True):g' -i `grep -ril getVar *` In this case, the default was False, but True was used since in most cases here expansion would be expected. (From OE-Core rev: 42a10788e89b07b14a150ced07113566cf99fcdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
321 B
Text
13 lines
321 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", True):
|
|
oe.data.typed_value(key, e.data)
|
|
}
|
|
addhandler check_types
|
|
check_types[eventmask] = "bb.event.ConfigParsed"
|