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

Bhaskar Chowdhury unixbhaskar at gmail.com
Mon Feb 27 00:12:53 PST 2023


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@lst.de/

I have remove the sh related build option.

cc: hch at lst.de
cc: acme at redhat.com
cc: jpoimboe at redhat.com
cc: namhyung at kernel.org
cc: jolsa at kernel.org

Signed-off-by: Bhaskar Chowdhury <unixbhaskar at gmail.com>
---
 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




More information about the linux-riscv mailing list