Config.in.powerpc 5.7 KB

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