mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.sub: Remove redundant patterns from second `case
$basic_machine in`. The second case only needs to handle patterns of the form *-*. We can drop some patterns without a change in functionality. Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
fc12b1e453
commit
5948bb17e1
@ -1,3 +1,10 @@
|
|||||||
|
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
|
* config.sub: Remove redundant patterns from second `case
|
||||||
|
$basic_machine in`. The second case only needs to handle patterns
|
||||||
|
of the form *-*. We can drop some patterns without a change in
|
||||||
|
functionality.
|
||||||
|
|
||||||
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
* config.sub: Remove duplicates in the huge `case basic_machine
|
* config.sub: Remove duplicates in the huge `case basic_machine
|
||||||
|
23
config.sub
vendored
23
config.sub
vendored
@ -1072,29 +1072,18 @@ case $basic_machine in
|
|||||||
amd64-*)
|
amd64-*)
|
||||||
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
cr16)
|
|
||||||
basic_machine=cr16-unknown
|
|
||||||
os=${os:-elf}
|
|
||||||
;;
|
|
||||||
cr16-*)
|
cr16-*)
|
||||||
os=${os:-elf}
|
os=${os:-elf}
|
||||||
;;
|
;;
|
||||||
crisv32 | crisv32-* | etraxfs*)
|
crisv32-* | etraxfs*-*)
|
||||||
basic_machine=crisv32-axis
|
basic_machine=crisv32-axis
|
||||||
;;
|
;;
|
||||||
cris | cris-* | etrax*)
|
cris-* | etrax*-*)
|
||||||
basic_machine=cris-axis
|
basic_machine=cris-axis
|
||||||
;;
|
;;
|
||||||
crx-*)
|
crx-*)
|
||||||
os=${os:-elf}
|
os=${os:-elf}
|
||||||
;;
|
;;
|
||||||
crx)
|
|
||||||
basic_machine=crx-unknown
|
|
||||||
os=${os:-elf}
|
|
||||||
;;
|
|
||||||
m9s12z | m68hcs12z | hcs12z | s12z)
|
|
||||||
basic_machine=s12z-unknown
|
|
||||||
;;
|
|
||||||
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
||||||
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
@ -1113,19 +1102,15 @@ case $basic_machine in
|
|||||||
nsx-tandem)
|
nsx-tandem)
|
||||||
basic_machine=nsx-tandem
|
basic_machine=nsx-tandem
|
||||||
;;
|
;;
|
||||||
s390 | s390-*)
|
s390-*)
|
||||||
basic_machine=s390-ibm
|
basic_machine=s390-ibm
|
||||||
;;
|
;;
|
||||||
s390x | s390x-*)
|
s390x-*)
|
||||||
basic_machine=s390x-ibm
|
basic_machine=s390x-ibm
|
||||||
;;
|
;;
|
||||||
tile*-*)
|
tile*-*)
|
||||||
os=${os:-linux-gnu}
|
os=${os:-linux-gnu}
|
||||||
;;
|
;;
|
||||||
tile*)
|
|
||||||
basic_machine=$basic_machine-unknown
|
|
||||||
os=${os:-linux-gnu}
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Recognize the cannonical CPU types that are allowed with any
|
# Recognize the cannonical CPU types that are allowed with any
|
||||||
# company name.
|
# company name.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user