Expanding wildcards returns the files in filesystem order. Sort them alphabetically to compile the defconfigs in alphabetical order. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- MAKEALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAKEALL b/MAKEALL index dd61f89827..5b1fb3ddd6 100755 --- a/MAKEALL +++ b/MAKEALL @@ -167,7 +167,7 @@ do_build() { local arch=$1 local regex=$2 - find arch/${arch}/configs -name "${regex}_defconfig" | while read i + find arch/${arch}/configs -name "${regex}_defconfig" | sort | while read i do local target=$(basename $i) -- 2.39.2