[PATCH] tools: scripts: Remove SH architecture build entry

From: Bhaskar Chowdhury
Date: Mon Feb 27 2023 - 03:17:15 EST


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

https://lore.kernel.org/all/20230113062339.1909087-4-hch@xxxxxx/

I have remove the sh related build option.

cc: hch@xxxxxx
cc: acme@xxxxxxxxxx
cc: jpoimboe@xxxxxxxxxx
cc: namhyung@xxxxxxxxxx
cc: jolsa@xxxxxxxxxx

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
---
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