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>
This commit is contained in:
Simon Glass
2024-07-29 08:42:18 -06:00
parent 7ff80ece21
commit 6bf44b48f9
+1 -1
View File
@@ -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