Skip to contentSkip to conversation

tools: scripts: Remove SH architecture build entry

PATCH New Bhaskar Chowdhury 1 participant 1 message Feb 27, 2023 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/scripts/Makefile.arch | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
tools/scripts/Makefile.arch +1 -6
index 0c6c7f456887..43bc1c4bf301 100644
@@ -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