Hi! The attached patch adds several sh architectures as detected platforms to platform.m4 in the same manner s390(x) was added in revision 786.
Please note that afterwards, generated_configure.sh needs to be updated so that it matches the definitions in platform.m4. So, my sponsor should take care of this. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
# HG changeset patch # User John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> # Date 1502844339 -7200 # Wed Aug 16 02:45:39 2017 +0200 # Node ID 8793cdb0f8e67202cb3e9af89d352a18c72bdee7 # Parent f2790e1a1aafd30b732f253348f749e1568e0f8c common: Add sh*(eb) detection to platform.m4 diff --git a/common/autoconf/platform.m4 b/common/autoconf/platform.m4 --- a/common/autoconf/platform.m4 +++ b/common/autoconf/platform.m4 @@ -120,6 +120,18 @@ VAR_CPU_BITS=64 VAR_CPU_ENDIAN=big ;; + sh*eb) + VAR_CPU=sh + VAR_CPU_ARCH=sh + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=big + ;; + sh*) + VAR_CPU=sh + VAR_CPU_ARCH=sh + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=little + ;; sparc) VAR_CPU=sparc VAR_CPU_ARCH=sparc