tools/nolibc: error out on unsupported architecture
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 5 Nov 2023 10:07:05 +0000 (11:07 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:20 +0000 (22:38 +0100)
commit48946c5aa7a848c7dfc2151267af92956f492f58
tree1cf0451d7fd7bdb33bda542d3af65f83cd075f1e
parent91f16451593b4709036e72a6aaccadc16d87a339
tools/nolibc: error out on unsupported architecture

When an architecture is unsupported arch.h would silently continue.
This leads to a lot of followup errors because my_syscallX() is not
defined and the startup code is missing.

Avoid these confusing errors and fail the build early with a clear
error message and location.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/arch.h