From 6bf44b48f9c4be65cbd0142e28558227ea4ae063 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 Jul 2024 10:11:24 +0100 Subject: [PATCH] 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 --- tools/qconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 71fe6fff29..241bd9efe3 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.39.5