From: Simon Glass Date: Thu, 18 Jul 2024 09:11:24 +0000 (+0100) Subject: qconfig: Sort the boards by name when finding X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=6bf44b48f9c4be65cbd0142e28558227ea4ae063;p=u-boot.git 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 --- 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