summaryrefslogtreecommitdiff
path: root/genconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-08-25 23:22:40 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-08-26 01:51:09 +0200
commit2320b7adb703c22e44ec9716a0d2605e80a02783 (patch)
treefeee0aae8378342aa5e7bd8f42cc7bb7516cb26c /genconfig.py
parent932d0f7b8a69bdcac5d945de600ce6be807aeff7 (diff)
oldconfig: Use Kconfig.node_iter() and clean up
Some general cleanup: - Handle the iteration with the new Kconfig.node_iter() helper. This makes some function so short that they become pointless. Have just main() + oldconfig(node) + small helper functions. - Use _name_and_loc_str(sc) for choices too, so that all locations get reported for named choices defined in multiple locations - Rewrite the intro to be less wordy and remove the sample session (leftover from when oldconfig.py was in examples/, and not that exciting) - Print "Updated configuration written to..." instead of "Configuration saved to..." - Various other nits
Diffstat (limited to 'genconfig.py')
0 files changed, 0 insertions, 0 deletions