config.sub.ps2.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- config.sub
  2. +++ config.sub
  3. @@ -253,7 +253,7 @@ case $basic_machine in
  4. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  5. | bfin \
  6. | c4x | clipper \
  7. - | d10v | d30v | dlx | dsp16xx \
  8. + | d10v | d30v | dlx | dsp16xx | dvp \
  9. | fido | fr30 | frv \
  10. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  11. | i370 | i860 | i960 | ia64 \
  12. @@ -773,6 +773,24 @@ case $basic_machine in
  13. basic_machine=m68k-atari
  14. os=-mint
  15. ;;
  16. + mipsEE* | ee | ps2)
  17. + basic_machine=mips64r5900el-scei
  18. + case $os in
  19. + -linux*)
  20. + ;;
  21. + *)
  22. + os=-elf
  23. + ;;
  24. + esac
  25. + ;;
  26. + iop)
  27. + basic_machine=mipsel-scei
  28. + os=-irx
  29. + ;;
  30. + dvp)
  31. + basic_machine=dvp-scei
  32. + os=-elf
  33. + ;;
  34. mips3*-*)
  35. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  36. ;;
  37. @@ -1325,7 +1343,7 @@ case $os in
  38. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  39. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  40. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  41. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  42. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -irx*)
  43. # Remember, each alternative MUST END IN *, to match a version number.
  44. ;;
  45. -qnx*)