]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/nolibc: drop s390 clang target override
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 20 Jun 2025 11:00:28 +0000 (13:00 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 8 Jul 2025 07:24:00 +0000 (09:24 +0200)
tools/scripts/Makefile.include now has the same override,
removing the need for the one in the nolibc Makefile.

Drop the superfluous custom override.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20250620-tools-cross-s390-v2-2-ecda886e00e5@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile
tools/testing/selftests/nolibc/Makefile.nolibc

index 3fcee9fe4ece22187f9e2a95fa0967ccfc70dfc7..143c2d2c2ba69711a03eee32743dc267eaa44360 100644 (file)
@@ -107,9 +107,6 @@ headers_standalone: headers
        $(Q)$(MAKE) -C $(srctree) headers
        $(Q)$(MAKE) -C $(srctree) headers_install INSTALL_HDR_PATH=$(OUTPUT)sysroot
 
-# GCC uses "s390", clang "systemz"
-CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
-
 headers_check: headers_standalone
        $(Q)for header in $(filter-out crt.h std.h,$(all_files)); do \
                $(CC) $(CLANG_CROSS_FLAGS) -Wall -Werror -nostdinc -fsyntax-only -x c /dev/null \
index cc5ee6c67586d22874fc3a5767d58cd99bf54b25..8cb65392fa105f544eacfb7711ca96b7ec5eb4fd 100644 (file)
@@ -244,9 +244,6 @@ endif
 # Modify CFLAGS based on LLVM=
 include $(srctree)/tools/scripts/Makefile.include
 
-# GCC uses "s390", clang "systemz"
-CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
-
 REPORT  ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++; print;} /\[SKIPPED\][\r]*$$/{s++} \
                END{ printf("\n%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \
                if (f || !p) printf("failure\n"); else if (s) printf("warning\n"); else printf("success\n");; \