From: Thomas Weißschuh Date: Wed, 1 Apr 2026 15:08:31 +0000 (+0200) Subject: tools/nolibc: explicitly list architecture headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7933969e1f733e18795a755cd9822ccf510140a1;p=thirdparty%2Fkernel%2Flinux.git tools/nolibc: explicitly list architecture headers Relying on $(wildcard) is brittle and non-deterministic. similar to all the other headers. Switch the list of architecture headers to an explicit list, Link: https://patch.msgid.link/20260401-nolibc-cleanup-v1-4-bcf4c9f5c1be@weissschuh.net Signed-off-by: Thomas Weißschuh --- diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index 03f789b210173..db6db4e6d99e6 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -17,7 +17,8 @@ endif # it defaults to this nolibc directory. OUTPUT ?= $(CURDIR)/ -arch_files := arch.h $(wildcard arch-*.h) +architectures := arm arm64 loongarch m68k mips powerpc riscv s390 sh sparc x86 +arch_files := arch.h $(addsuffix .h, $(addprefix arch-, $(architectures))) all_files := \ compiler.h \ crt.h \