0002-config-add-support-for-ps2.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. From 144194fe916a14b630324c19f7b098109122bca2 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Thu, 15 Nov 2012 17:01:25 +0100
  4. Subject: [PATCH 2/2] config: add support for ps2
  5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. ---
  7. config.sub | 22 ++++++++++++++++++++--
  8. 1 file changed, 20 insertions(+), 2 deletions(-)
  9. diff --git a/config.sub b/config.sub
  10. index 89b1286..8509813 100755
  11. --- a/config.sub
  12. +++ b/config.sub
  13. @@ -265,7 +265,7 @@ case $basic_machine in
  14. | be32 | be64 \
  15. | bfin \
  16. | c4x | clipper \
  17. - | d10v | d30v | dlx | dsp16xx \
  18. + | d10v | d30v | dlx | dsp16xx | dvp \
  19. | epiphany \
  20. | fido | fr30 | frv \
  21. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  22. @@ -813,6 +813,24 @@ case $basic_machine in
  23. basic_machine=m68k-atari
  24. os=-mint
  25. ;;
  26. + mipsEE* | ee | ps2)
  27. + basic_machine=mips64r5900el-scei
  28. + case $os in
  29. + -linux*)
  30. + ;;
  31. + *)
  32. + os=-elf
  33. + ;;
  34. + esac
  35. + ;;
  36. + iop)
  37. + basic_machine=mipsel-scei
  38. + os=-irx
  39. + ;;
  40. + dvp)
  41. + basic_machine=dvp-scei
  42. + os=-elf
  43. + ;;
  44. mips3*-*)
  45. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  46. ;;
  47. @@ -1375,7 +1393,7 @@ case $os in
  48. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  49. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  50. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  51. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  52. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -irx*)
  53. # Remember, each alternative MUST END IN *, to match a version number.
  54. ;;
  55. -qnx*)
  56. --
  57. 1.7.9.5