Skip to content

Commit f6f6be0

Browse files
committed
tools/nolibc: drop s390 clang target override
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]>
1 parent a40f0cd commit f6f6be0

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tools/include/nolibc/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ headers_standalone: headers
107107
$(Q)$(MAKE) -C $(srctree) headers
108108
$(Q)$(MAKE) -C $(srctree) headers_install INSTALL_HDR_PATH=$(OUTPUT)sysroot
109109

110-
# GCC uses "s390", clang "systemz"
111-
CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
112-
113110
headers_check: headers_standalone
114111
$(Q)for header in $(filter-out crt.h std.h,$(all_files)); do \
115112
$(CC) $(CLANG_CROSS_FLAGS) -Wall -Werror -nostdinc -fsyntax-only -x c /dev/null \

tools/testing/selftests/nolibc/Makefile.nolibc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,6 @@ endif
244244
# Modify CFLAGS based on LLVM=
245245
include $(srctree)/tools/scripts/Makefile.include
246246

247-
# GCC uses "s390", clang "systemz"
248-
CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
249-
250247
REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++; print;} /\[SKIPPED\][\r]*$$/{s++} \
251248
END{ printf("\n%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \
252249
if (f || !p) printf("failure\n"); else if (s) printf("warning\n"); else printf("success\n");; \

0 commit comments

Comments
 (0)