mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.sub: Move some erroneous foo-* aliases to be single
component aliases. Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
0b99e39a4e
commit
7397e860d9
@ -1,3 +1,8 @@
|
|||||||
|
2018-08-14 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
|
* config.sub: Move some erroneous foo-* aliases to be single
|
||||||
|
component aliases.
|
||||||
|
|
||||||
2018-08-13 Ben Elliston <bje@gnu.org>
|
2018-08-13 Ben Elliston <bje@gnu.org>
|
||||||
|
|
||||||
* testsuite/config-sub.data: Add legacy test cases for cydra,
|
* testsuite/config-sub.data: Add legacy test cases for cydra,
|
||||||
|
49
config.sub
vendored
49
config.sub
vendored
@ -148,6 +148,13 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
*-*)
|
||||||
|
# A lone config we happen to match not fitting any patern
|
||||||
|
case $field1-$field2 in
|
||||||
|
decstation-3100)
|
||||||
|
basic_machine=mips-dec
|
||||||
|
os=
|
||||||
|
;;
|
||||||
*-*)
|
*-*)
|
||||||
# Second component is usually, but not always the OS
|
# Second component is usually, but not always the OS
|
||||||
case $field2 in
|
case $field2 in
|
||||||
@ -157,14 +164,15 @@ case $1 in
|
|||||||
os=$field2
|
os=$field2
|
||||||
;;
|
;;
|
||||||
# Manufacturers
|
# Manufacturers
|
||||||
dec* | mips* | sequent* | encore* | pc532* | sgi* | sony* \
|
dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
|
||||||
| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
|
| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
|
||||||
| unicom* | ibm* | next | hp | isi* | apollo | altos* \
|
| unicom* | ibm* | next | hp | isi* | apollo | altos* \
|
||||||
| convergent* | ncr* | news | 32* | 3600* | 3100* | hitachi* \
|
| convergent* | ncr* | news | 32* | 3600* | 3100* \
|
||||||
| c[123]* | convex* | sun | crds | omron* | dg | ultra | tti* \
|
| hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
|
||||||
| harris | dolphin | highlevel | gould | cbm | ns | masscomp \
|
| ultra | tti* | harris | dolphin | highlevel | gould \
|
||||||
| apple | axis | knuth | cray | microblaze* \
|
| cbm | ns | masscomp | apple | axis | knuth | cray \
|
||||||
| sim | cisco | oki | wec | wrs | winbond)
|
| microblaze* | sim | cisco \
|
||||||
|
| oki | wec | wrs | winbond)
|
||||||
basic_machine=$field1-$field2
|
basic_machine=$field1-$field2
|
||||||
os=
|
os=
|
||||||
;;
|
;;
|
||||||
@ -174,6 +182,8 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
# Convert single-component short-hands not valid as part of
|
# Convert single-component short-hands not valid as part of
|
||||||
# multi-component configurations.
|
# multi-component configurations.
|
||||||
@ -206,6 +216,10 @@ case $1 in
|
|||||||
basic_machine=580-amdahl
|
basic_machine=580-amdahl
|
||||||
os=sysv
|
os=sysv
|
||||||
;;
|
;;
|
||||||
|
amiga)
|
||||||
|
basic_machine=m68k-unknown
|
||||||
|
os=
|
||||||
|
;;
|
||||||
amigaos | amigados)
|
amigaos | amigados)
|
||||||
basic_machine=m68k-unknown
|
basic_machine=m68k-unknown
|
||||||
os=amigaos
|
os=amigaos
|
||||||
@ -270,6 +284,14 @@ case $1 in
|
|||||||
basic_machine=m68k-crds
|
basic_machine=m68k-crds
|
||||||
os=
|
os=
|
||||||
;;
|
;;
|
||||||
|
da30)
|
||||||
|
basic_machine=m68k-da30
|
||||||
|
os=
|
||||||
|
;;
|
||||||
|
decstation | pmax | pmin | dec3100 | decstatn)
|
||||||
|
basic_machine=mips-dec
|
||||||
|
os=
|
||||||
|
;;
|
||||||
delta88)
|
delta88)
|
||||||
basic_machine=m88k-motorola
|
basic_machine=m88k-motorola
|
||||||
os=sysv3
|
os=sysv3
|
||||||
@ -314,6 +336,9 @@ case $1 in
|
|||||||
basic_machine=m88k-harris
|
basic_machine=m88k-harris
|
||||||
os=sysv3
|
os=sysv3
|
||||||
;;
|
;;
|
||||||
|
hp300)
|
||||||
|
basic_machine=m68k-hp
|
||||||
|
;;
|
||||||
hp300bsd)
|
hp300bsd)
|
||||||
basic_machine=m68k-hp
|
basic_machine=m68k-hp
|
||||||
os=bsd
|
os=bsd
|
||||||
@ -904,9 +929,6 @@ case $basic_machine in
|
|||||||
amd64-*)
|
amd64-*)
|
||||||
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
amiga | amiga-*)
|
|
||||||
basic_machine=m68k-unknown
|
|
||||||
;;
|
|
||||||
blackfin-*)
|
blackfin-*)
|
||||||
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
os=linux
|
os=linux
|
||||||
@ -942,12 +964,6 @@ case $basic_machine in
|
|||||||
basic_machine=crx-unknown
|
basic_machine=crx-unknown
|
||||||
os=${os:-elf}
|
os=${os:-elf}
|
||||||
;;
|
;;
|
||||||
da30 | da30-*)
|
|
||||||
basic_machine=m68k-da30
|
|
||||||
;;
|
|
||||||
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
|
|
||||||
basic_machine=mips-dec
|
|
||||||
;;
|
|
||||||
decsystem10* | dec10*)
|
decsystem10* | dec10*)
|
||||||
basic_machine=pdp10-dec
|
basic_machine=pdp10-dec
|
||||||
os=tops10
|
os=tops10
|
||||||
@ -993,9 +1009,6 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-hitachi
|
basic_machine=hppa1.1-hitachi
|
||||||
os=hiuxwe2
|
os=hiuxwe2
|
||||||
;;
|
;;
|
||||||
hp300-*)
|
|
||||||
basic_machine=m68k-hp
|
|
||||||
;;
|
|
||||||
hp3k9[0-9][0-9] | hp9[0-9][0-9])
|
hp3k9[0-9][0-9] | hp9[0-9][0-9])
|
||||||
basic_machine=hppa1.0-hp
|
basic_machine=hppa1.0-hp
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user