mirror of
git://git.savannah.gnu.org/config.git
synced 2025-06-07 23:10:20 +12:00
* config.sub: More deduplication and organize more basic machines.
Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
fc14426403
commit
a6387dca6b
@ -1,3 +1,7 @@
|
|||||||
|
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
|
* config.sub: More deduplication and organize more basic machines.
|
||||||
|
|
||||||
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
2018-08-28 John Ericson <john.ericson@obsidian.systems>
|
||||||
|
|
||||||
* config.sub: Deduplicate and organize more basic machines.
|
* config.sub: Deduplicate and organize more basic machines.
|
||||||
|
73
config.sub
vendored
73
config.sub
vendored
@ -769,9 +769,6 @@ case $basic_machine in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
leon-*|leon[3-9]-*)
|
|
||||||
basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
|
|
||||||
;;
|
|
||||||
miniframe)
|
miniframe)
|
||||||
basic_machine=m68000-convergent
|
basic_machine=m68000-convergent
|
||||||
;;
|
;;
|
||||||
@ -803,9 +800,6 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-oki
|
basic_machine=hppa1.1-oki
|
||||||
os=proelf
|
os=proelf
|
||||||
;;
|
;;
|
||||||
openrisc | openrisc-*)
|
|
||||||
basic_machine=or32-unknown
|
|
||||||
;;
|
|
||||||
pa-hitachi)
|
pa-hitachi)
|
||||||
basic_machine=hppa1.1-hitachi
|
basic_machine=hppa1.1-hitachi
|
||||||
os=hiuxwe2
|
os=hiuxwe2
|
||||||
@ -833,12 +827,6 @@ case $basic_machine in
|
|||||||
rtpc | rtpc-*)
|
rtpc | rtpc-*)
|
||||||
basic_machine=romp-ibm
|
basic_machine=romp-ibm
|
||||||
;;
|
;;
|
||||||
sb1)
|
|
||||||
basic_machine=mipsisa64sb1-unknown
|
|
||||||
;;
|
|
||||||
sb1el)
|
|
||||||
basic_machine=mipsisa64sb1el-unknown
|
|
||||||
;;
|
|
||||||
sde)
|
sde)
|
||||||
basic_machine=mipsisa32-sde
|
basic_machine=mipsisa32-sde
|
||||||
os=${os:-elf}
|
os=${os:-elf}
|
||||||
@ -847,15 +835,6 @@ case $basic_machine in
|
|||||||
basic_machine=sparclite-wrs
|
basic_machine=sparclite-wrs
|
||||||
os=vxworks
|
os=vxworks
|
||||||
;;
|
;;
|
||||||
spur)
|
|
||||||
basic_machine=spur-unknown
|
|
||||||
;;
|
|
||||||
tx39)
|
|
||||||
basic_machine=mipstx39-unknown
|
|
||||||
;;
|
|
||||||
tx39el)
|
|
||||||
basic_machine=mipstx39el-unknown
|
|
||||||
;;
|
|
||||||
tower | tower-32)
|
tower | tower-32)
|
||||||
basic_machine=m68k-ncr
|
basic_machine=m68k-ncr
|
||||||
;;
|
;;
|
||||||
@ -869,39 +848,14 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-winbond
|
basic_machine=hppa1.1-winbond
|
||||||
os=proelf
|
os=proelf
|
||||||
;;
|
;;
|
||||||
xscale-* | xscalee[bl]-*)
|
|
||||||
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
|
||||||
;;
|
|
||||||
none)
|
none)
|
||||||
basic_machine=none-none
|
basic_machine=none-none
|
||||||
;;
|
;;
|
||||||
|
leon|leon[3-9])
|
||||||
c54x)
|
|
||||||
basic_machine=tic54x-unknown
|
|
||||||
;;
|
|
||||||
c55x)
|
|
||||||
basic_machine=tic55x-unknown
|
|
||||||
;;
|
|
||||||
c6x)
|
|
||||||
basic_machine=tic6x-unknown
|
|
||||||
;;
|
|
||||||
leon | leon[3-9])
|
|
||||||
basic_machine=sparc-$basic_machine
|
basic_machine=sparc-$basic_machine
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70)
|
leon-*|leon[3-9]-*)
|
||||||
;;
|
basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
|
||||||
ms1)
|
|
||||||
basic_machine=mt-unknown
|
|
||||||
;;
|
|
||||||
strongarm | thumb | xscale)
|
|
||||||
basic_machine=arm-unknown
|
|
||||||
;;
|
|
||||||
xscaleeb)
|
|
||||||
basic_machine=armeb-unknown
|
|
||||||
;;
|
|
||||||
|
|
||||||
xscaleel)
|
|
||||||
basic_machine=armel-unknown
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*)
|
*-*)
|
||||||
@ -1015,6 +969,9 @@ case $basic_machine in
|
|||||||
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
|
||||||
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
|
openrisc-*)
|
||||||
|
basic_machine=or32-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
parisc-*)
|
parisc-*)
|
||||||
basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
os=linux
|
os=linux
|
||||||
@ -1045,15 +1002,33 @@ case $basic_machine in
|
|||||||
ppc64le-* | powerpc64little-*)
|
ppc64le-* | powerpc64little-*)
|
||||||
basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
|
sb1-*)
|
||||||
|
basic_machine=mipsisa64sb1-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
sb1el-*)
|
||||||
|
basic_machine=mipsisa64sb1el-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
sh5e[lb]-*)
|
sh5e[lb]-*)
|
||||||
basic_machine=`echo "$basic_machine" | sed 's/^\(sh.\)e\(.\)-/\1\2e-/'`
|
basic_machine=`echo "$basic_machine" | sed 's/^\(sh.\)e\(.\)-/\1\2e-/'`
|
||||||
;;
|
;;
|
||||||
|
spur)
|
||||||
|
basic_machine=spur-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
strongarm-* | thumb-*)
|
strongarm-* | thumb-*)
|
||||||
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
|
tx39)
|
||||||
|
basic_machine=mipstx39-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
tx39el)
|
||||||
|
basic_machine=mipstx39el-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
x64-*)
|
x64-*)
|
||||||
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
|
xscale-* | xscalee[bl]-*)
|
||||||
|
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
||||||
|
;;
|
||||||
|
|
||||||
# Recognize the cannonical CPU Types that limit and/or modify the
|
# Recognize the cannonical CPU Types that limit and/or modify the
|
||||||
# company names they are paired with.
|
# company names they are paired with.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user