diff options
| author | Ian Lance Taylor | 1996-12-31 20:54:33 +0000 |
|---|---|---|
| committer | Ian Lance Taylor | 1996-12-31 20:54:33 +0000 |
| commit | 570591721b7eadd42e1119bbb2ad4b1d628d7d9b (patch) | |
| tree | 23264d8a4d24ebd6f8545da2e9f27fe7454ffea6 | |
| parent | d23d9efd83430fb9195beb16c1b2a860dadd10cd (diff) | |
| download | emacs-570591721b7eadd42e1119bbb2ad4b1d628d7d9b.tar.gz emacs-570591721b7eadd42e1119bbb2ad4b1d628d7d9b.zip | |
Handle mips-unknown-linux-gnu
| -rwxr-xr-x | config.sub | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/config.sub b/config.sub index 0432524944d..cd342535401 100755 --- a/config.sub +++ b/config.sub | |||
| @@ -389,6 +389,14 @@ case $basic_machine in | |||
| 389 | miniframe) | 389 | miniframe) |
| 390 | basic_machine=m68000-convergent | 390 | basic_machine=m68000-convergent |
| 391 | ;; | 391 | ;; |
| 392 | mipsel*-linux*) | ||
| 393 | basic_machine=mipsel-unknown | ||
| 394 | os=-linux | ||
| 395 | ;; | ||
| 396 | mips*-linux*) | ||
| 397 | basic_machine=mips-unknown | ||
| 398 | os=-linux | ||
| 399 | ;; | ||
| 392 | mips3*-*) | 400 | mips3*-*) |
| 393 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | 401 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
| 394 | ;; | 402 | ;; |
| @@ -607,7 +615,11 @@ case $basic_machine in | |||
| 607 | # Here we handle the default manufacturer of certain CPU types. It is in | 615 | # Here we handle the default manufacturer of certain CPU types. It is in |
| 608 | # some cases the only manufacturer, in others, it is the most popular. | 616 | # some cases the only manufacturer, in others, it is the most popular. |
| 609 | mips) | 617 | mips) |
| 610 | basic_machine=mips-mips | 618 | if [ x$os = x-linux ]; then |
| 619 | basic_machine=mips-unknown | ||
| 620 | else | ||
| 621 | basic_machine=mips-mips | ||
| 622 | fi | ||
| 611 | ;; | 623 | ;; |
| 612 | romp) | 624 | romp) |
| 613 | basic_machine=romp-ibm | 625 | basic_machine=romp-ibm |