Config.in.powerpc 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. config BR2_POWERPC_CPU_HAS_ALTIVEC
  2. bool
  3. config BR2_POWERPC_CPU_HAS_SPE
  4. bool
  5. choice
  6. prompt "Target Architecture Variant"
  7. default BR2_generic_powerpc
  8. help
  9. Specific CPU variant to use
  10. config BR2_generic_powerpc
  11. bool "generic"
  12. # No C library supports this variant on ppc64le
  13. depends on !BR2_powerpc64le
  14. config BR2_powerpc_401
  15. bool "401"
  16. depends on !BR2_ARCH_IS_64
  17. config BR2_powerpc_403
  18. bool "403"
  19. depends on !BR2_ARCH_IS_64
  20. config BR2_powerpc_405
  21. bool "405"
  22. depends on !BR2_ARCH_IS_64
  23. config BR2_powerpc_405fp
  24. bool "405 with FPU"
  25. depends on !BR2_ARCH_IS_64
  26. config BR2_powerpc_440
  27. bool "440"
  28. depends on !BR2_ARCH_IS_64
  29. config BR2_powerpc_440fp
  30. bool "440 with FPU"
  31. depends on !BR2_ARCH_IS_64
  32. config BR2_powerpc_464
  33. bool "464"
  34. depends on !BR2_ARCH_IS_64
  35. config BR2_powerpc_464fp
  36. bool "464 with FPU"
  37. depends on !BR2_ARCH_IS_64
  38. config BR2_powerpc_476
  39. bool "476"
  40. depends on !BR2_ARCH_IS_64
  41. config BR2_powerpc_476fp
  42. bool "476 with FPU"
  43. depends on !BR2_ARCH_IS_64
  44. config BR2_powerpc_505
  45. bool "505"
  46. depends on !BR2_ARCH_IS_64
  47. config BR2_powerpc_602
  48. bool "602"
  49. depends on !BR2_ARCH_IS_64
  50. config BR2_powerpc_603
  51. bool "603"
  52. depends on !BR2_ARCH_IS_64
  53. config BR2_powerpc_603e
  54. bool "603e"
  55. depends on !BR2_ARCH_IS_64
  56. config BR2_powerpc_604
  57. bool "604"
  58. depends on !BR2_ARCH_IS_64
  59. config BR2_powerpc_604e
  60. bool "604e"
  61. depends on !BR2_ARCH_IS_64
  62. config BR2_powerpc_620
  63. bool "620"
  64. # No C library supports this variant on ppc64le
  65. depends on !BR2_powerpc64le
  66. config BR2_powerpc_630
  67. bool "630"
  68. # No C library supports this variant on ppc64le
  69. depends on !BR2_powerpc64le
  70. config BR2_powerpc_740
  71. bool "740"
  72. depends on !BR2_ARCH_IS_64
  73. config BR2_powerpc_7400
  74. bool "7400"
  75. depends on !BR2_ARCH_IS_64
  76. select BR2_POWERPC_CPU_HAS_ALTIVEC
  77. config BR2_powerpc_7450
  78. bool "7450"
  79. depends on !BR2_ARCH_IS_64
  80. select BR2_POWERPC_CPU_HAS_ALTIVEC
  81. config BR2_powerpc_750
  82. bool "750"
  83. depends on !BR2_ARCH_IS_64
  84. config BR2_powerpc_821
  85. bool "821"
  86. depends on !BR2_ARCH_IS_64
  87. config BR2_powerpc_823
  88. bool "823"
  89. depends on !BR2_ARCH_IS_64
  90. config BR2_powerpc_860
  91. bool "860"
  92. depends on !BR2_ARCH_IS_64
  93. config BR2_powerpc_970
  94. bool "970"
  95. select BR2_POWERPC_CPU_HAS_ALTIVEC
  96. config BR2_powerpc_8540
  97. bool "8540 / e500v1"
  98. depends on !BR2_ARCH_IS_64
  99. select BR2_POWERPC_CPU_HAS_SPE
  100. config BR2_powerpc_8548
  101. bool "8548 / e500v2"
  102. depends on !BR2_ARCH_IS_64
  103. select BR2_POWERPC_CPU_HAS_SPE
  104. config BR2_powerpc_e300c2
  105. bool "e300c2"
  106. depends on !BR2_ARCH_IS_64
  107. config BR2_powerpc_e300c3
  108. bool "e300c3"
  109. depends on !BR2_ARCH_IS_64
  110. config BR2_powerpc_e500mc
  111. bool "e500mc"
  112. depends on !BR2_ARCH_IS_64
  113. config BR2_powerpc_e5500
  114. bool "e5500"
  115. depends on !BR2_powerpc64le
  116. config BR2_powerpc_e6500
  117. bool "e6500"
  118. depends on !BR2_powerpc64le
  119. select BR2_POWERPC_CPU_HAS_ALTIVEC
  120. config BR2_powerpc_power4
  121. bool "power4"
  122. # No C library supports this variant on ppc64le
  123. depends on !BR2_powerpc64le
  124. config BR2_powerpc_power5
  125. bool "power5"
  126. # No C library supports this variant on ppc64le
  127. depends on !BR2_powerpc64le
  128. config BR2_powerpc_power6
  129. bool "power6"
  130. select BR2_POWERPC_CPU_HAS_ALTIVEC
  131. config BR2_powerpc_power7
  132. bool "power7"
  133. select BR2_POWERPC_CPU_HAS_ALTIVEC
  134. config BR2_powerpc_power8
  135. bool "power8"
  136. select BR2_POWERPC_CPU_HAS_ALTIVEC
  137. endchoice
  138. choice
  139. prompt "Target ABI"
  140. default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
  141. default BR2_powerpc_CLASSIC
  142. help
  143. Application Binary Interface to use
  144. config BR2_powerpc_CLASSIC
  145. bool "Classic"
  146. depends on !BR2_POWERPC_CPU_HAS_SPE
  147. config BR2_powerpc_SPE
  148. bool "SPE"
  149. depends on BR2_POWERPC_CPU_HAS_SPE
  150. endchoice
  151. config BR2_POWERPC_SOFT_FLOAT
  152. bool "Use soft-float"
  153. select BR2_SOFT_FLOAT
  154. help
  155. If your target CPU does not have a Floating Point Unit (FPU)
  156. or a kernel FPU emulator, but you still wish to support
  157. floating point functions, then everything will need to be
  158. compiled with soft floating point support (-msoft-float).
  159. config BR2_ARCH
  160. default "powerpc" if BR2_powerpc
  161. default "powerpc64" if BR2_powerpc64
  162. default "powerpc64le" if BR2_powerpc64le
  163. config BR2_NORMALIZED_ARCH
  164. default "powerpc"
  165. config BR2_ENDIAN
  166. default "BIG" if BR2_powerpc || BR2_powerpc64
  167. default "LITTLE" if BR2_powerpc64le
  168. config BR2_GCC_TARGET_CPU
  169. default "401" if BR2_powerpc_401
  170. default "403" if BR2_powerpc_403
  171. default "405" if BR2_powerpc_405
  172. default "405fp" if BR2_powerpc_405fp
  173. default "440" if BR2_powerpc_440
  174. default "440fp" if BR2_powerpc_440fp
  175. default "464" if BR2_powerpc_464
  176. default "464fp" if BR2_powerpc_464fp
  177. default "476" if BR2_powerpc_476
  178. default "476fp" if BR2_powerpc_476fp
  179. default "505" if BR2_powerpc_505
  180. default "602" if BR2_powerpc_602
  181. default "603" if BR2_powerpc_603
  182. default "603e" if BR2_powerpc_603e
  183. default "604" if BR2_powerpc_604
  184. default "604e" if BR2_powerpc_604e
  185. default "620" if BR2_powerpc_620
  186. default "630" if BR2_powerpc_630
  187. default "740" if BR2_powerpc_740
  188. default "7400" if BR2_powerpc_7400
  189. default "7450" if BR2_powerpc_7450
  190. default "750" if BR2_powerpc_750
  191. default "821" if BR2_powerpc_821
  192. default "823" if BR2_powerpc_823
  193. default "860" if BR2_powerpc_860
  194. default "970" if BR2_powerpc_970
  195. default "8540" if BR2_powerpc_8540
  196. default "8548" if BR2_powerpc_8548
  197. default "e300c2" if BR2_powerpc_e300c2
  198. default "e300c3" if BR2_powerpc_e300c3
  199. default "e500mc" if BR2_powerpc_e500mc
  200. default "e5500" if BR2_powerpc_e5500
  201. default "e6500" if BR2_powerpc_e6500
  202. default "power4" if BR2_powerpc_power4
  203. default "power5" if BR2_powerpc_power5
  204. default "power6" if BR2_powerpc_power6
  205. default "power7" if BR2_powerpc_power7
  206. default "power8" if BR2_powerpc_power8
  207. config BR2_READELF_ARCH_NAME
  208. default "PowerPC" if BR2_powerpc
  209. default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le
  210. # vim: ft=kconfig
  211. # -*- mode:kconfig; -*-