From 7933969e1f733e18795a755cd9822ccf510140a1 Mon Sep 17 00:00:00 2001 From: Thomas Weißschuh Date: Wed, 1 Apr 2026 17:08:31 +0200 Subject: tools/nolibc: explicitly list architecture headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/include/nolibc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/include/nolibc') diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index 03f789b21017..db6db4e6d99e 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 \ -- cgit v1.2.3