Config.in.mips 3.3 KB

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