diff options
author | Tom Rini <trini@konsulko.com> | 2023-09-24 12:43:00 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-09-24 12:43:00 -0400 |
commit | 90c81f407dd4a7747385b10f9b8f732202c45cde (patch) | |
tree | e7200b32d45c2754df3f9445a48b6d113d968a33 /tools/buildman/boards.py | |
parent | 1e94b46f73cedcebbff73799203f3266c5b28d90 (diff) | |
parent | ae84514feee209091d331a8baaa344ed8d8e905b (diff) |
Merge tag 'dm-next-23sep23' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
buildman file-keeping and build-progress improvements
dm tree enhancement
adjust meaning of bootph-pre-ram/sram
Diffstat (limited to 'tools/buildman/boards.py')
-rw-r--r-- | tools/buildman/boards.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index eef3f19f7ad..341a5056dfd 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -19,6 +19,7 @@ import time from buildman import board from buildman import kconfiglib +from u_boot_pylib.terminal import print_clear, tprint ### constant variables ### OUTPUT_FILE = 'boards.cfg' @@ -863,11 +864,19 @@ class Boards: Returns: bool: True if all is well, False if there were warnings """ - if not force and output_is_new(output, CONFIG_DIR, '.'): + if not force: if not quiet: - print(f'{output} is up to date. Nothing to do.') - return True + tprint('\rChecking for Kconfig changes...', newline=False) + is_new = output_is_new(output, CONFIG_DIR, '.') + print_clear() + if is_new: + if not quiet: + print(f'{output} is up to date. Nothing to do.') + return True + if not quiet: + tprint('\rGenerating board list...', newline=False) params_list, warnings = self.build_board_list(CONFIG_DIR, '.', jobs) + print_clear() for warn in warnings: print(warn, file=sys.stderr) self.format_and_output(params_list, output) |