summaryrefslogtreecommitdiff
path: root/tools/qconfig.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-18 10:11:24 +0100
committerSimon Glass <sjg@chromium.org>2024-07-29 08:42:18 -0600
commit6bf44b48f9c4be65cbd0142e28558227ea4ae063 (patch)
treeb9ae7ebc3e12db03b40ce656c0089116257cc2e2 /tools/qconfig.py
parent7ff80ece2159c1e73f11e1e1b9484e00d1dfeb76 (diff)
qconfig: Sort the boards by name when finding
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@chromium.org>
Diffstat (limited to 'tools/qconfig.py')
-rwxr-xr-xtools/qconfig.py2
1 files changed, 1 insertions, 1 deletions
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