diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-01 18:08:31 +0300 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-02 18:11:53 +0300 |
| commit | 7933969e1f733e18795a755cd9822ccf510140a1 (patch) | |
| tree | 4b984af3ced8fc26ea79d104a12544fc5b5c6d7f /tools | |
| parent | b972b37cb6b8216922c1e817b0bab4cfed55fc44 (diff) | |
| download | linux-7933969e1f733e18795a755cd9822ccf510140a1.tar.xz | |
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 <linux@weissschuh.net>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/include/nolibc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |
