[PATCH 00/24] qconfig: Tidy up main() and add a small feature

Simon Glass sjg at chromium.org
Wed Jul 17 17:56:48 CEST 2024


This series improves the code a little by reducing the size of the
main() function. It also allows searching for CONFIG values.


Simon Glass (24):
  qconfig: Fix pylint error in read_database()
  qconfig: Drop the try_expand() function
  qconfig: Make KconfigScanner a function
  qconfig: Tidy up some pylint warnings
  qconfig: Correct format string in do_imply_config()
  qconfig: Rename the doc link
  qconfig: Move arg parsing into a separate function
  qconfig: Move arg checking a little higher
  qconfig: Move arg checking to the top of main()
  qconfig: Move getting the colour to where it is needed
  qconfig: Move checking directory to the top
  qconfig: Move converting config args to the top
  qconfig: Move testing into a separate function
  qconfig: Add a return value to do_scan_source()
  qconfig: Move imply into a separate function
  qconfig: Add a return value to do_find_config()
  qconfig: Move all move_config code into move_config()
  qconfig: Move commit code into a separate function
  qconfig: Move progress output into the class
  qconfig: Move the last two operations into their own functions
  qconfig: Use the Color object in Progress
  qconfig: Drop col argument from Slots()
  qconfig: Move operation check into parse_args()
  qconfig: Allow searching for CONFIG values

 doc/develop/qconfig.rst |  14 ++
 tools/qconfig.py        | 403 ++++++++++++++++++++++++----------------
 2 files changed, 256 insertions(+), 161 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list