summaryrefslogtreecommitdiff
path: root/scripts/config.guess
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-26 07:48:05 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-26 07:48:05 (GMT)
commit59f76719e1dfc692186f4ca92c574715e9c5f005 (patch)
tree0c5423788667b68a6e7b57f145fb4f9625b605fc /scripts/config.guess
parent462c3c0d1ffc1c82a46379ffd63c945918d0c9bd (diff)
Update config.sub/config.guess
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/config.guess')
-rwxr-xr-xscripts/config.guess12
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/config.guess b/scripts/config.guess
index c4bd827..bbd48b6 100755
--- a/scripts/config.guess
+++ b/scripts/config.guess
@@ -1,8 +1,8 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2016 Free Software Foundation, Inc.
+# Copyright 1992-2017 Free Software Foundation, Inc.
-timestamp='2016-05-15'
+timestamp='2017-01-01'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2016 Free Software Foundation, Inc.
+Copyright 1992-2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -1000,6 +1000,9 @@ EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
+ mips64el:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
openrisc*:Linux:*:*)
echo or1k-unknown-linux-${LIBC}
exit ;;
@@ -1032,6 +1035,9 @@ EOF
ppcle:Linux:*:*)
echo powerpcle-unknown-linux-${LIBC}
exit ;;
+ riscv32:Linux:*:* | riscv64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
exit ;;