[U-Boot] [PATCH v6 0/20] Add some missing buildman features and deprecate MAKEALL

Simon Glass
2014-08-09T21:32:56Z

Buildman has been around for a little over a year and is used by a fair
number of U-Boot developers. However quite a few people still use MAKEALL.

Buildman was intended to replace MAKEALL, so perhaps now is a good time to
start that process.

The reasons to deprecate MAKEALL are:
- We don't want to maintain two build systems
- Buildman is typically faster
- Buildman has a lot more features

This series adds a few features to buildman to fill some gaps, adds some
information into the README on how to migrate from MAKEALL, and adds a
deprecation message to MAKEALL.

Changes in v6:
- Add new patch to remove patman's -a option
- Add new patch to fix patman unit tests
- Add new patch to fix indentation in teminal.py
- Add new patch to fix the spelling of 'colour'
- Add new patch to avoid using --no-decorate when not available
- Add new patch to move 'git log' command into a function
- Add new patch to implement -c option

Changes in v5:
- Drop patch to search for *cc instead of *gcc for the compiler
- Add new patch to add an 'and' operator for board selection
- Update test for verbose option
- Update test for output options

Changes in v4:
- Add new patch to add a few more toolchain examples to the README
- Add new patch to show a message when there are no errors
- Add new patch to allow the config file to be specified
- Add new patch to remove unused non-incremental build method code
- Fix typo in commit message
- Fix missing import in builder.py

Changes in v3:
- Add new patch to add a verbose option
- Add new patch to refactor output options
- Add new patch to sort command line options
- Add new patch to move BuilderThread code to its own file
- Add new patch to build current source tree

Changes in v2:
- Minor changes to the text
- Add new patch to fix existing typos

Simon Glass (20):
buildman: Fix a few typos
buildman: Add some notes about moving from MAKEALL
buildman: Allow building of current source tree
buildman: Move BuilderThread code to its own file
buildman: Sort command line options
buildman: Refactor output options
buildman: Add verbose option to display errors as they happen
buildman: Remove unused non-incremental build method code
buildman: Add an option to specify the buildman config file
buildman: Add a message indicating there are no errors
buildman: Add a few more toolchain examples to the README
buildman: Introduce an 'and' operator for board selection
buildman: Allow selection of the number of commits to build
patman: Move the 'git log' command into a function
patman: Only use git's --no-decorate when available
patman: buildman: Correct spelling of 'colour'
patman: Fix indentation in terminal.py
patman: Correct unit tests to run correctly
patman: Remove the -a option
RFC: Deprecate MAKEALL

MAKEALL | 4 +
tools/buildman/README | 159 ++++++++++-
tools/buildman/board.py | 144 ++++++++--
tools/buildman/builder.py | 587 +++++++---------------------------------
tools/buildman/builderthread.py | 434 +++++++++++++++++++++++++++++
tools/buildman/buildman.py | 16 +-
tools/buildman/control.py | 116 +++++---
tools/buildman/test.py | 56 +++-
tools/patman/checkpatch.py | 18 +-
tools/patman/gitutil.py | 142 +++-------
tools/patman/patchstream.py | 18 +-
tools/patman/patman.py | 11 +-
tools/patman/series.py | 14 +-
tools/patman/terminal.py | 120 ++++----
tools/patman/test.py | 13 +-
15 files changed, 1076 insertions(+), 776 deletions(-)
create mode 100644 tools/buildman/builderthread.py

--
2.0.0.526.g5318336