mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-16 13:10:37 +00:00
Update Kconfiglib and menuconfig to upstream revision 6aea8d06b637e. Kconfiglib changes: - Kconfig files are now looked up just relative to $srctree (if set). Previously, each source'd Kconfig file was also looked up in the current directory, and Kconfig files there could override Kconfig files in $srctree. This is what the C tools do. I'm pretty sure that behavior was a bug in the C tools all along, and only meant for .config files. It caused problems (and an ugly workaround) for the undefined Kconfig symbol CI check in an external project. The new behavior also saves a bunch of open()'s, though it's probably not noticeable. - Setting the KCONFIG_STRICT environment variable to 'y' now makes Kconfiglib itself warn for references to undefined symbols. This isn't safe in general, as some projects use multiple Kconfig trees with shared Kconfig files (e.g. the Linux kernel). This will be used to simplify the undefined Kconfig symbol CI check. - It's now possible to customize how symbols and choices are printed within expressions. This will be used to make the RST link generation in genrest.py less hacky. - Instead of having 'gsource', a plain 'source' is now globbing, and requires at least one match. There's also 'osource', for when it's okay for a glob pattern to match no files. 'gsource' had the design flaw that there was no way to require at least one file to match. I plan on replacing all 'gsource' statements with plain 'source's later, but 'gsource' is still supported for backwards compatibility. - def_int, def_hex, and def_string are now available as a Kconfig extensions, analogous to def_bool (set type and add default). - Misc. internal cleanup. menuconfig changes: - Boolean value hints are no longer shown to the right of defaults in the symbol information for int/hex symbols. Stuff like '- 74 (value: "n")' wasn't helpful, and looked confusing. - Symbol information has been made more compact in general, e.g. by skipping value hints where they aren't helpful ('FOO(=y)' instead of 'FOO(=y) (=y)'), and by shortening stuff like '(value: "y")' to just '(=y)'. - Misc. internal cleanup. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
checkconfig.py | ||
diffconfig | ||
kconfig.py | ||
kconfiglib.py | ||
menuconfig.py |