2023-02-27 08:17:15

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] tools: scripts: Remove SH architecture build entry

As per Christoph's effort to remove the defunct architecture,which you can
see it here :

https://lore.kernel.org/all/[email protected]/

I have remove the sh related build option.

cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
tools/scripts/Makefile.arch | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tools/scripts/Makefile.arch b/tools/scripts/Makefile.arch
index 0c6c7f456887..43bc1c4bf301 100644
--- a/tools/scripts/Makefile.arch
+++ b/tools/scripts/Makefile.arch
@@ -4,7 +4,7 @@ HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
-e /arm64/!s/arm.*/arm/ -e s/sa110/arm/ \
-e s/s390x/s390/ -e s/parisc64/parisc/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
- -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ \
+ -e s/aarch64.*/arm64/ \
-e s/riscv.*/riscv/)

ifndef ARCH
@@ -29,11 +29,6 @@ ifeq ($(ARCH),sparc64)
SRCARCH := sparc
endif

-# Additional ARCH settings for sh
-ifeq ($(ARCH),sh64)
- SRCARCH := sh
-endif
-
LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
ifeq ($(LP64), 1)
IS_64_BIT := 1
--
2.39.2