From: Ian Date: Tue, 31 Dec 1996 20:54:33 +0000 (+0000) Subject: Handle mips-unknown-linux-gnu X-Git-Tag: upstream/2.30~29001 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea971c878fda0a93a568732ca5a8a36524f77ec2;p=external%2Fglibc.git Handle mips-unknown-linux-gnu --- diff --git a/config.sub b/config.sub index 0432524..cd34253 100755 --- a/config.sub +++ b/config.sub @@ -389,6 +389,14 @@ case $basic_machine in miniframe) basic_machine=m68000-convergent ;; + mipsel*-linux*) + basic_machine=mipsel-unknown + os=-linux + ;; + mips*-linux*) + basic_machine=mips-unknown + os=-linux + ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -607,7 +615,11 @@ case $basic_machine 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. mips) - basic_machine=mips-mips + if [ x$os = x-linux ]; then + basic_machine=mips-unknown + else + basic_machine=mips-mips + fi ;; romp) basic_machine=romp-ibm