mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +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>
|
||||
|
||||
* 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-*)
|
||||
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
cr16)
|
||||
basic_machine=cr16-unknown
|
||||
os=${os:-elf}
|
||||
;;
|
||||
cr16-*)
|
||||
os=${os:-elf}
|
||||
;;
|
||||
crisv32 | crisv32-* | etraxfs*)
|
||||
crisv32-* | etraxfs*-*)
|
||||
basic_machine=crisv32-axis
|
||||
;;
|
||||
cris | cris-* | etrax*)
|
||||
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/^[^-]*-//'`
|
||||
;;
|
||||
@ -1113,19 +1102,15 @@ case $basic_machine in
|
||||
nsx-tandem)
|
||||
basic_machine=nsx-tandem
|
||||
;;
|
||||
s390 | s390-*)
|
||||
s390-*)
|
||||
basic_machine=s390-ibm
|
||||
;;
|
||||
s390x | 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user