Config.in.mips 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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_m6201
  56. bool "M6201"
  57. depends on !BR2_ARCH_IS_64
  58. select BR2_MIPS_CPU_MIPS32R6
  59. config BR2_mips_p5600
  60. bool "P5600"
  61. depends on !BR2_ARCH_IS_64
  62. select BR2_MIPS_CPU_MIPS32R5
  63. config BR2_mips_64
  64. bool "Generic MIPS64"
  65. depends on BR2_ARCH_IS_64
  66. select BR2_MIPS_CPU_MIPS64
  67. config BR2_mips_64r2
  68. bool "Generic MIPS64R2"
  69. depends on BR2_ARCH_IS_64
  70. select BR2_MIPS_CPU_MIPS64R2
  71. config BR2_mips_64r5
  72. bool "Generic MIPS64R5"
  73. depends on BR2_ARCH_IS_64
  74. select BR2_MIPS_CPU_MIPS64R5
  75. config BR2_mips_64r6
  76. bool "Generic MIPS64R6"
  77. depends on BR2_ARCH_IS_64
  78. select BR2_MIPS_CPU_MIPS64R6
  79. config BR2_mips_i6400
  80. bool "I6400"
  81. depends on BR2_ARCH_IS_64
  82. select BR2_MIPS_CPU_MIPS64R6
  83. config BR2_mips_p6600
  84. bool "P6600"
  85. depends on BR2_ARCH_IS_64
  86. select BR2_MIPS_CPU_MIPS64R6
  87. endchoice
  88. choice
  89. prompt "Target ABI"
  90. depends on BR2_mips64 || BR2_mips64el
  91. default BR2_MIPS_NABI32
  92. help
  93. Application Binary Interface to use
  94. config BR2_MIPS_NABI32
  95. bool "n32"
  96. depends on BR2_ARCH_IS_64
  97. select BR2_KERNEL_64_USERLAND_32
  98. config BR2_MIPS_NABI64
  99. bool "n64"
  100. depends on BR2_ARCH_IS_64
  101. endchoice
  102. config BR2_MIPS_SOFT_FLOAT
  103. bool "Use soft-float"
  104. default y
  105. select BR2_SOFT_FLOAT
  106. help
  107. If your target CPU does not have a Floating Point Unit (FPU)
  108. or a kernel FPU emulator, but you still wish to support
  109. floating point functions, then everything will need to be
  110. compiled with soft floating point support (-msoft-float).
  111. config BR2_ARCH
  112. default "mips" if BR2_mips
  113. default "mipsel" if BR2_mipsel
  114. default "mips64" if BR2_mips64
  115. default "mips64el" if BR2_mips64el
  116. config BR2_ENDIAN
  117. default "LITTLE" if BR2_mipsel || BR2_mips64el
  118. default "BIG" if BR2_mips || BR2_mips64
  119. config BR2_GCC_TARGET_ARCH
  120. default "mips32" if BR2_mips_32
  121. default "mips32r2" if BR2_mips_32r2
  122. default "mips32r5" if BR2_mips_32r5
  123. default "mips32r6" if BR2_mips_32r6
  124. default "interaptiv" if BR2_mips_interaptiv
  125. default "m5100" if BR2_mips_m5100
  126. default "m5101" if BR2_mips_m5101
  127. default "m6201" if BR2_mips_m6201
  128. default "p5600" if BR2_mips_p5600
  129. default "mips64" if BR2_mips_64
  130. default "mips64r2" if BR2_mips_64r2
  131. default "mips64r5" if BR2_mips_64r5
  132. default "mips64r6" if BR2_mips_64r6
  133. default "i6400" if BR2_mips_i6400
  134. default "p6600" if BR2_mips_p6600
  135. config BR2_MIPS_OABI32
  136. bool
  137. default y if BR2_mips || BR2_mipsel
  138. config BR2_GCC_TARGET_ABI
  139. default "32" if BR2_MIPS_OABI32
  140. default "n32" if BR2_MIPS_NABI32
  141. default "64" if BR2_MIPS_NABI64