Skip to content

Commit 8ac1830

Browse files
committed
[depends] Latest config.guess and config.sub
1 parent 649cf5f commit 8ac1830

File tree

2 files changed

+31
-12
lines changed

2 files changed

+31
-12
lines changed

depends/config.guess

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#! /bin/sh
22
# Attempt to guess a canonical system name.
3-
# Copyright 1992-2016 Free Software Foundation, Inc.
3+
# Copyright 1992-2017 Free Software Foundation, Inc.
44

5-
timestamp='2016-05-15'
5+
timestamp='2017-01-01'
66

77
# This file is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ version="\
5050
GNU config.guess ($timestamp)
5151
5252
Originally written by Per Bothner.
53-
Copyright 1992-2016 Free Software Foundation, Inc.
53+
Copyright 1992-2017 Free Software Foundation, Inc.
5454
5555
This is free software; see the source for copying conditions. There is NO
5656
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -1000,6 +1000,9 @@ EOF
10001000
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
10011001
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
10021002
;;
1003+
mips64el:Linux:*:*)
1004+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1005+
exit ;;
10031006
openrisc*:Linux:*:*)
10041007
echo or1k-unknown-linux-${LIBC}
10051008
exit ;;
@@ -1032,6 +1035,9 @@ EOF
10321035
ppcle:Linux:*:*)
10331036
echo powerpcle-unknown-linux-${LIBC}
10341037
exit ;;
1038+
riscv32:Linux:*:* | riscv64:Linux:*:*)
1039+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1040+
exit ;;
10351041
s390:Linux:*:* | s390x:Linux:*:*)
10361042
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
10371043
exit ;;

depends/config.sub

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#! /bin/sh
22
# Configuration validation subroutine script.
3-
# Copyright 1992-2016 Free Software Foundation, Inc.
3+
# Copyright 1992-2017 Free Software Foundation, Inc.
44

5-
timestamp='2016-05-10'
5+
timestamp='2017-01-01'
66

77
# This file is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU General Public License as published by
@@ -67,7 +67,7 @@ Report bugs and patches to <[email protected]>."
6767
version="\
6868
GNU config.sub ($timestamp)
6969
70-
Copyright 1992-2016 Free Software Foundation, Inc.
70+
Copyright 1992-2017 Free Software Foundation, Inc.
7171
7272
This is free software; see the source for copying conditions. There is NO
7373
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -117,7 +117,7 @@ case $maybe_os in
117117
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118118
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119119
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120-
kopensolaris*-gnu* | \
120+
kopensolaris*-gnu* | cloudabi*-eabi* | \
121121
storm-chaos* | os2-emx* | rtmk-nova*)
122122
os=-$maybe_os
123123
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -301,6 +301,7 @@ case $basic_machine in
301301
| open8 | or1k | or1knd | or32 \
302302
| pdp10 | pdp11 | pj | pjl \
303303
| powerpc | powerpc64 | powerpc64le | powerpcle \
304+
| pru \
304305
| pyramid \
305306
| riscv32 | riscv64 \
306307
| rl78 | rx \
@@ -428,6 +429,7 @@ case $basic_machine in
428429
| orion-* \
429430
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430431
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
432+
| pru-* \
431433
| pyramid-* \
432434
| riscv32-* | riscv64-* \
433435
| rl78-* | romp-* | rs6000-* | rx-* \
@@ -643,6 +645,14 @@ case $basic_machine in
643645
basic_machine=m68k-bull
644646
os=-sysv3
645647
;;
648+
e500v[12])
649+
basic_machine=powerpc-unknown
650+
os=$os"spe"
651+
;;
652+
e500v[12]-*)
653+
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
654+
os=$os"spe"
655+
;;
646656
ebmon29k)
647657
basic_machine=a29k-amd
648658
os=-ebmon
@@ -1022,7 +1032,7 @@ case $basic_machine in
10221032
ppc-* | ppcbe-*)
10231033
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
10241034
;;
1025-
ppcle | powerpclittle | ppc-le | powerpc-little)
1035+
ppcle | powerpclittle)
10261036
basic_machine=powerpcle-unknown
10271037
;;
10281038
ppcle-* | powerpclittle-*)
@@ -1032,7 +1042,7 @@ case $basic_machine in
10321042
;;
10331043
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
10341044
;;
1035-
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1045+
ppc64le | powerpc64little)
10361046
basic_machine=powerpc64le-unknown
10371047
;;
10381048
ppc64le-* | powerpc64little-*)
@@ -1387,9 +1397,9 @@ case $os in
13871397
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13881398
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13891399
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1390-
| -chorusos* | -chorusrdb* | -cegcc* \
1400+
| -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
13911401
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1392-
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1402+
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13931403
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
13941404
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
13951405
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1409,7 @@ case $os in
13991409
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14001410
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
14011411
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1402-
| -onefs* | -tirtos* | -phoenix*)
1412+
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
14031413
# Remember, each alternative MUST END IN *, to match a version number.
14041414
;;
14051415
-qnx*)
@@ -1628,6 +1638,9 @@ case $basic_machine in
16281638
sparc-* | *-sun)
16291639
os=-sunos4.1.1
16301640
;;
1641+
pru-*)
1642+
os=-elf
1643+
;;
16311644
*-be)
16321645
os=-beos
16331646
;;

0 commit comments

Comments
 (0)