Commit f48015bc authored by Sergei Trofimovich's avatar Sergei Trofimovich

configure: add support for 'sh4' (Trac #11209)

Debian has Renesas SH4 (SuperH) port with a triplet:

    sh4-linux-gnu

Patch by glaubitz adds 'sh4' CPU to recognize target
as ArchUnknown.
Signed-off-by: default avatarSergei Trofimovich <siarheit@google.com>
parent 669c5ed6
......@@ -212,7 +212,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax)
hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sh4|sparc64|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
......@@ -1825,6 +1825,9 @@ case "$1" in
s390*)
$2="s390"
;;
sh4)
$2="sh4"
;;
sparc64*)
$2="sparc64"
;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment