[PATCH v2 25/26] qconfig: Sort the boards by name when finding
Simon Glass
sjg at chromium.org
Thu Jul 18 11:11:24 CEST 2024
There is no particular ordering of the board list at present, since it
is generated by a multi-threaded process. Sort them by name to make it
easier to see if a particular board is present.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add a new patch to sort the boards by name when finding
tools/qconfig.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/qconfig.py b/tools/qconfig.py
index 71fe6fff29c..241bd9efe33 100755
--- a/tools/qconfig.py
+++ b/tools/qconfig.py
@@ -1142,7 +1142,7 @@ def do_find_config(config_list):
if has_cfg == want:
out.add(defc)
print(f'{len(out)} matches')
- print(' '.join(item.split('_defconfig')[0] for item in out))
+ print(' '.join(item.split('_defconfig')[0] for item in sorted(list(out))))
return 0
--
2.34.1
More information about the U-Boot
mailing list