(mipsel*-linux* and mips*-linux*):

Set `os' to -linux-gnu directly, don't go via -linux.
This commit is contained in:
rms 1997-06-05 22:22:44 +00:00
parent 6c8083f246
commit 08e49f320f

8
config.sub vendored
View File

@ -391,11 +391,11 @@ case $basic_machine in
;; ;;
mipsel*-linux*) mipsel*-linux*)
basic_machine=mipsel-unknown basic_machine=mipsel-unknown
os=-linux os=-linux-gnu
;; ;;
mips*-linux*) mips*-linux*)
basic_machine=mips-unknown basic_machine=mips-unknown
os=-linux os=-linux-gnu
;; ;;
mips3*-*) mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
@ -585,7 +585,7 @@ case $basic_machine in
basic_machine=vax-dec basic_machine=vax-dec
os=-vms os=-vms
;; ;;
vpp*|vx|vx-*) vpp*|vx|vx-*)
basic_machine=f301-fujitsu basic_machine=f301-fujitsu
;; ;;
vxworks960) vxworks960)
@ -615,7 +615,7 @@ case $basic_machine in
# Here we handle the default manufacturer of certain CPU types. It is in # Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular. # some cases the only manufacturer, in others, it is the most popular.
mips) mips)
if [ x$os = x-linux ]; then if [ x$os = x-linux-gnu ]; then
basic_machine=mips-unknown basic_machine=mips-unknown
else else
basic_machine=mips-mips basic_machine=mips-mips