2
1

Config.in.mips 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. choice
  2. prompt "Target Architecture Variant"
  3. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  4. default BR2_mips_3 if BR2_mips
  5. default BR2_mips_1 if BR2_mipsel
  6. default BR2_mips_64 if BR2_mips64 || BR2_mips64el
  7. help
  8. Specific CPU variant to use
  9. 64bit cabable: 3, 4, 64, 64r2
  10. non-64bit capable: 1, 2, 32, 32r2
  11. config BR2_mips_1
  12. bool "mips I (generic)"
  13. depends on !BR2_ARCH_IS_64
  14. config BR2_mips_2
  15. bool "mips II"
  16. depends on !BR2_ARCH_IS_64
  17. config BR2_mips_3
  18. bool "mips III"
  19. config BR2_mips_4
  20. bool "mips IV"
  21. config BR2_mips_32
  22. bool "mips 32"
  23. depends on !BR2_ARCH_IS_64
  24. config BR2_mips_32r2
  25. bool "mips 32r2"
  26. depends on !BR2_ARCH_IS_64
  27. config BR2_mips_64
  28. bool "mips 64"
  29. config BR2_mips_64r2
  30. bool "mips 64r2"
  31. endchoice
  32. choice
  33. prompt "Target ABI"
  34. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  35. default BR2_MIPS_OABI32 if !BR2_ARCH_IS_64
  36. default BR2_MIPS_NABI32 if BR2_ARCH_IS_64
  37. help
  38. Application Binary Interface to use
  39. config BR2_MIPS_OABI32
  40. bool "o32"
  41. config BR2_MIPS_NABI32
  42. bool "n32"
  43. depends on BR2_ARCH_IS_64
  44. config BR2_MIPS_NABI64
  45. bool "n64"
  46. depends on BR2_ARCH_IS_64
  47. endchoice
  48. config BR2_ARCH
  49. default "mips" if BR2_mips
  50. default "mipsel" if BR2_mipsel
  51. default "mips64" if BR2_mips64
  52. default "mips64el" if BR2_mips64el
  53. config BR2_ENDIAN
  54. default "LITTLE" if BR2_mipsel || BR2_mips64el
  55. default "BIG" if BR2_mips || BR2_mips64
  56. config BR2_GCC_TARGET_TUNE
  57. default "mips1" if BR2_mips_1
  58. default "mips2" if BR2_mips_2
  59. default "mips3" if BR2_mips_3
  60. default "mips4" if BR2_mips_4
  61. default "mips32" if BR2_mips_32
  62. default "mips32r2" if BR2_mips_32r2
  63. default "mips64" if BR2_mips_64
  64. default "mips64r2" if BR2_mips_64r2
  65. config BR2_GCC_TARGET_ABI
  66. default "32" if BR2_MIPS_OABI32
  67. default "n32" if BR2_MIPS_NABI32
  68. default "64" if BR2_MIPS_NABI64