Config.in.mips 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # mips default CPU ISAs
  2. config BR2_MIPS_CPU_MIPS32
  3. bool
  4. config BR2_MIPS_CPU_MIPS32R2
  5. bool
  6. config BR2_MIPS_CPU_MIPS32R5
  7. bool
  8. config BR2_MIPS_CPU_MIPS32R6
  9. bool
  10. config BR2_MIPS_CPU_MIPS64
  11. bool
  12. config BR2_MIPS_CPU_MIPS64R2
  13. bool
  14. config BR2_MIPS_CPU_MIPS64R5
  15. bool
  16. config BR2_MIPS_CPU_MIPS64R6
  17. bool
  18. choice
  19. prompt "Target Architecture Variant"
  20. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  21. default BR2_mips_32 if BR2_mips || BR2_mipsel
  22. default BR2_mips_64 if BR2_mips64 || BR2_mips64el
  23. help
  24. Specific CPU variant to use
  25. 64bit cabable: 64, 64r2, 64r5, 64r6
  26. non-64bit capable: 32, 32r2, 32r5, 32r6
  27. config BR2_mips_32
  28. bool "Generic MIPS32"
  29. depends on !BR2_ARCH_IS_64
  30. select BR2_MIPS_CPU_MIPS32
  31. config BR2_mips_32r2
  32. bool "Generic MIPS32R2"
  33. depends on !BR2_ARCH_IS_64
  34. select BR2_MIPS_CPU_MIPS32R2
  35. config BR2_mips_32r5
  36. bool "Generic MIPS32R5"
  37. depends on !BR2_ARCH_IS_64
  38. select BR2_MIPS_CPU_MIPS32R5
  39. config BR2_mips_32r6
  40. bool "Generic MIPS32R6"
  41. depends on !BR2_ARCH_IS_64
  42. select BR2_MIPS_CPU_MIPS32R6
  43. config BR2_mips_interaptiv
  44. bool "interAptiv"
  45. depends on !BR2_ARCH_IS_64
  46. select BR2_MIPS_CPU_MIPS32R2
  47. config BR2_mips_m5100
  48. bool "M5100"
  49. depends on !BR2_ARCH_IS_64
  50. select BR2_MIPS_CPU_MIPS32R5
  51. config BR2_mips_m5101
  52. bool "M5101"
  53. depends on !BR2_ARCH_IS_64
  54. select BR2_MIPS_CPU_MIPS32R5
  55. config BR2_mips_p5600
  56. bool "P5600"
  57. depends on !BR2_ARCH_IS_64
  58. select BR2_MIPS_CPU_MIPS32R5
  59. config BR2_mips_64
  60. bool "Generic MIPS64"
  61. depends on BR2_ARCH_IS_64
  62. select BR2_MIPS_CPU_MIPS64
  63. config BR2_mips_64r2
  64. bool "Generic MIPS64R2"
  65. depends on BR2_ARCH_IS_64
  66. select BR2_MIPS_CPU_MIPS64R2
  67. config BR2_mips_64r5
  68. bool "Generic MIPS64R5"
  69. depends on BR2_ARCH_IS_64
  70. select BR2_MIPS_CPU_MIPS64R5
  71. config BR2_mips_64r6
  72. bool "Generic MIPS64R6"
  73. depends on BR2_ARCH_IS_64
  74. select BR2_MIPS_CPU_MIPS64R6
  75. config BR2_mips_i6400
  76. bool "I6400"
  77. depends on BR2_ARCH_IS_64
  78. select BR2_MIPS_CPU_MIPS64R6
  79. endchoice
  80. choice
  81. prompt "Target ABI"
  82. depends on BR2_mips64 || BR2_mips64el
  83. default BR2_MIPS_NABI32
  84. help
  85. Application Binary Interface to use
  86. config BR2_MIPS_NABI32
  87. bool "n32"
  88. depends on BR2_ARCH_IS_64
  89. select BR2_KERNEL_64_USERLAND_32
  90. config BR2_MIPS_NABI64
  91. bool "n64"
  92. depends on BR2_ARCH_IS_64
  93. endchoice
  94. config BR2_MIPS_SOFT_FLOAT
  95. bool "Use soft-float"
  96. default y
  97. select BR2_SOFT_FLOAT
  98. help
  99. If your target CPU does not have a Floating Point Unit (FPU)
  100. or a kernel FPU emulator, but you still wish to support
  101. floating point functions, then everything will need to be
  102. compiled with soft floating point support (-msoft-float).
  103. config BR2_ARCH
  104. default "mips" if BR2_mips
  105. default "mipsel" if BR2_mipsel
  106. default "mips64" if BR2_mips64
  107. default "mips64el" if BR2_mips64el
  108. config BR2_ENDIAN
  109. default "LITTLE" if BR2_mipsel || BR2_mips64el
  110. default "BIG" if BR2_mips || BR2_mips64
  111. config BR2_GCC_TARGET_ARCH
  112. default "mips32" if BR2_mips_32
  113. default "mips32r2" if BR2_mips_32r2
  114. default "mips32r5" if BR2_mips_32r5
  115. default "mips32r6" if BR2_mips_32r6
  116. default "interaptiv" if BR2_mips_interaptiv
  117. default "m5100" if BR2_mips_m5100
  118. default "m5101" if BR2_mips_m5101
  119. default "p5600" if BR2_mips_p5600
  120. default "mips64" if BR2_mips_64
  121. default "mips64r2" if BR2_mips_64r2
  122. default "mips64r5" if BR2_mips_64r5
  123. default "mips64r6" if BR2_mips_64r6
  124. default "i6400" if BR2_mips_i6400
  125. config BR2_MIPS_OABI32
  126. bool
  127. default y if BR2_mips || BR2_mipsel
  128. config BR2_GCC_TARGET_ABI
  129. default "32" if BR2_MIPS_OABI32
  130. default "n32" if BR2_MIPS_NABI32
  131. default "64" if BR2_MIPS_NABI64