mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.sub: Consolidate some *-* patterns above big patterns.
Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
f5aba1772c
commit
ddf4d5ca18
@ -1,3 +1,7 @@
|
|||||||
|
2018-08-24 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
|
* config.sub: Consolidate some *-* patterns above big patterns.
|
||||||
|
|
||||||
2018-08-24 Ben Elliston <bje@gnu.org>
|
2018-08-24 Ben Elliston <bje@gnu.org>
|
||||||
|
|
||||||
* testsuite/config-sub.data: Add more tests.
|
* testsuite/config-sub.data: Add more tests.
|
||||||
|
115
config.sub
vendored
115
config.sub
vendored
@ -2,7 +2,7 @@
|
|||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright 1992-2018 Free Software Foundation, Inc.
|
# Copyright 1992-2018 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2018-08-23'
|
timestamp='2018-08-24'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# 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
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -720,9 +720,6 @@ case $basic_machine in
|
|||||||
amd64)
|
amd64)
|
||||||
basic_machine=x86_64-pc
|
basic_machine=x86_64-pc
|
||||||
;;
|
;;
|
||||||
amd64-*)
|
|
||||||
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
blackfin-*)
|
blackfin-*)
|
||||||
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
os=linux
|
os=linux
|
||||||
@ -744,23 +741,6 @@ case $basic_machine in
|
|||||||
basic_machine=c90-cray
|
basic_machine=c90-cray
|
||||||
os=${os:-unicos}
|
os=${os:-unicos}
|
||||||
;;
|
;;
|
||||||
cr16 | cr16-*)
|
|
||||||
basic_machine=cr16-unknown
|
|
||||||
os=${os:-elf}
|
|
||||||
;;
|
|
||||||
crisv32 | crisv32-* | etraxfs*)
|
|
||||||
basic_machine=crisv32-axis
|
|
||||||
;;
|
|
||||||
cris | cris-* | etrax*)
|
|
||||||
basic_machine=cris-axis
|
|
||||||
;;
|
|
||||||
crx-*)
|
|
||||||
os=${os:-elf}
|
|
||||||
;;
|
|
||||||
crx)
|
|
||||||
basic_machine=crx-unknown
|
|
||||||
os=${os:-elf}
|
|
||||||
;;
|
|
||||||
decsystem10* | dec10*)
|
decsystem10* | dec10*)
|
||||||
basic_machine=pdp10-dec
|
basic_machine=pdp10-dec
|
||||||
os=tops10
|
os=tops10
|
||||||
@ -908,21 +888,6 @@ case $basic_machine in
|
|||||||
np1)
|
np1)
|
||||||
basic_machine=np1-gould
|
basic_machine=np1-gould
|
||||||
;;
|
;;
|
||||||
neo-tandem)
|
|
||||||
basic_machine=neo-tandem
|
|
||||||
;;
|
|
||||||
nse-tandem)
|
|
||||||
basic_machine=nse-tandem
|
|
||||||
;;
|
|
||||||
nsr-tandem)
|
|
||||||
basic_machine=nsr-tandem
|
|
||||||
;;
|
|
||||||
nsv-tandem)
|
|
||||||
basic_machine=nsv-tandem
|
|
||||||
;;
|
|
||||||
nsx-tandem)
|
|
||||||
basic_machine=nsx-tandem
|
|
||||||
;;
|
|
||||||
op50n-* | op60c-*)
|
op50n-* | op60c-*)
|
||||||
basic_machine=hppa1.1-oki
|
basic_machine=hppa1.1-oki
|
||||||
os=proelf
|
os=proelf
|
||||||
@ -1012,12 +977,6 @@ case $basic_machine in
|
|||||||
rtpc | rtpc-*)
|
rtpc | rtpc-*)
|
||||||
basic_machine=romp-ibm
|
basic_machine=romp-ibm
|
||||||
;;
|
;;
|
||||||
s390 | s390-*)
|
|
||||||
basic_machine=s390-ibm
|
|
||||||
;;
|
|
||||||
s390x | s390x-*)
|
|
||||||
basic_machine=s390x-ibm
|
|
||||||
;;
|
|
||||||
sb1)
|
sb1)
|
||||||
basic_machine=mipsisa64sb1-unknown
|
basic_machine=mipsisa64sb1-unknown
|
||||||
;;
|
;;
|
||||||
@ -1044,12 +1003,6 @@ case $basic_machine in
|
|||||||
strongarm-* | thumb-*)
|
strongarm-* | thumb-*)
|
||||||
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
tile*-*)
|
|
||||||
;;
|
|
||||||
tile*)
|
|
||||||
basic_machine=$basic_machine-unknown
|
|
||||||
os=${os:-linux-gnu}
|
|
||||||
;;
|
|
||||||
tx39)
|
tx39)
|
||||||
basic_machine=mipstx39-unknown
|
basic_machine=mipstx39-unknown
|
||||||
;;
|
;;
|
||||||
@ -1093,12 +1046,6 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70)
|
||||||
;;
|
;;
|
||||||
m9s12z | m68hcs12z | hcs12z | s12z)
|
|
||||||
basic_machine=s12z-unknown
|
|
||||||
;;
|
|
||||||
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
|
||||||
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
|
||||||
;;
|
|
||||||
ms1)
|
ms1)
|
||||||
basic_machine=mt-unknown
|
basic_machine=mt-unknown
|
||||||
;;
|
;;
|
||||||
@ -1113,7 +1060,65 @@ case $basic_machine in
|
|||||||
basic_machine=armel-unknown
|
basic_machine=armel-unknown
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Recognize the basic CPU types with company name.
|
# Recognize the cannonical CPU Types that limit and/or modify the
|
||||||
|
# company names they are paired with.
|
||||||
|
amd64-*)
|
||||||
|
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
cr16 | cr16-*)
|
||||||
|
basic_machine=cr16-unknown
|
||||||
|
os=${os:-elf}
|
||||||
|
;;
|
||||||
|
crisv32 | crisv32-* | etraxfs*)
|
||||||
|
basic_machine=crisv32-axis
|
||||||
|
;;
|
||||||
|
cris | cris-* | etrax*)
|
||||||
|
basic_machine=cris-axis
|
||||||
|
;;
|
||||||
|
crx-*)
|
||||||
|
os=${os:-elf}
|
||||||
|
;;
|
||||||
|
crx)
|
||||||
|
basic_machine=crx-unknown
|
||||||
|
os=${os:-elf}
|
||||||
|
;;
|
||||||
|
m9s12z | m68hcs12z | hcs12z | s12z)
|
||||||
|
basic_machine=s12z-unknown
|
||||||
|
;;
|
||||||
|
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
||||||
|
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
neo-tandem)
|
||||||
|
basic_machine=neo-tandem
|
||||||
|
;;
|
||||||
|
nse-tandem)
|
||||||
|
basic_machine=nse-tandem
|
||||||
|
;;
|
||||||
|
nsr-tandem)
|
||||||
|
basic_machine=nsr-tandem
|
||||||
|
;;
|
||||||
|
nsv-tandem)
|
||||||
|
basic_machine=nsv-tandem
|
||||||
|
;;
|
||||||
|
nsx-tandem)
|
||||||
|
basic_machine=nsx-tandem
|
||||||
|
;;
|
||||||
|
s390 | s390-*)
|
||||||
|
basic_machine=s390-ibm
|
||||||
|
;;
|
||||||
|
s390x | s390x-*)
|
||||||
|
basic_machine=s390x-ibm
|
||||||
|
;;
|
||||||
|
tile*-*)
|
||||||
|
os=${os:-linux-gnu}
|
||||||
|
;;
|
||||||
|
tile*)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
os=${os:-linux-gnu}
|
||||||
|
;;
|
||||||
|
|
||||||
|
# Recognize the cannonical CPU types that are allowed with any
|
||||||
|
# company name.
|
||||||
1750a-* | 580-* \
|
1750a-* | 580-* \
|
||||||
| a29k-* \
|
| a29k-* \
|
||||||
| aarch64-* | aarch64_be-* \
|
| aarch64-* | aarch64_be-* \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user