
This series drops the need for the genboardscfg.py script, so that the boards.cfg file is produced (and consumed) entirely within buildman. The file is not entirely removed since it does have some uses and we need some sort of cache for the information. The genboardscfg.py script is effectively incorporated in buildman.
It also improves operation from an IDE with a new -I option and fixes up some of the pylint warnings in buildman.
Finally, this series also fixes a bug which allows use to drop support for CONFIG_SYS_EXTRA_OPTIONS which is long-standing desire. It also fixes a minor bug that causes 'Invalid line' spam when checking for function bloat with the -B option.
Simon Glass (19): buildman: Drop -I option buildman: Support running from an IDE buildman: Avoid using board as a variable buildman: Fix use of 'boards' in func_test buildman: Fix use of 'boards' in test buildman: Drop use of 'boards' in control buildman: Drop use of 'board' in board module buildman: Convert camel case in board.py buildman: Split out Boards into its own file buildman: Incorporate the genboardscfg.py tool buildman: Tidy up pylint problems in boards module buildman: Replace the Options column with config name Revert "Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support"" buildman: Return an error if there are maintainer warnings gitlab/azure: Use buildman instead of genboardscfg Drop genboardscfg.py buildman: Allow lines without a symbol buildman: Drop a Python 2.7 comment buildman: Drop a TODO that is done
.azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- boot/Kconfig | 13 - doc/README.kconfig | 7 - doc/develop/moveconfig.rst | 3 +- scripts/Makefile.autoconf | 4 - scripts/build-whitelist.sh | 23 +- scripts/pylint.base | 1 - tools/buildman/README | 40 +- tools/buildman/board.py | 289 +----------- tools/buildman/boards.py | 752 ++++++++++++++++++++++++++++++++ tools/buildman/builder.py | 140 +++--- tools/buildman/builderthread.py | 6 +- tools/buildman/cmdline.py | 7 +- tools/buildman/control.py | 56 ++- tools/buildman/func_test.py | 59 +-- tools/buildman/test.py | 45 +- tools/buildman/toolchain.py | 8 +- tools/genboardscfg.py | 444 ------------------- tools/moveconfig.py | 65 --- 20 files changed, 960 insertions(+), 1006 deletions(-) create mode 100644 tools/buildman/boards.py delete mode 100755 tools/genboardscfg.py