Config.in.powerpc 5.8 KB

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