2
1

Config.in.powerpc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. config BR2_POWERPC_SOFT_FLOAT
  146. bool "Use soft-float"
  147. select BR2_SOFT_FLOAT
  148. help
  149. If your target CPU does not have a Floating Point Unit (FPU)
  150. or a kernel FPU emulator, but you still wish to support
  151. floating point functions, then everything will need to be
  152. compiled with soft floating point support (-msoft-float).
  153. config BR2_ARCH
  154. default "powerpc" if BR2_powerpc
  155. default "powerpc64" if BR2_powerpc64
  156. default "powerpc64le" if BR2_powerpc64le
  157. config BR2_NORMALIZED_ARCH
  158. default "powerpc"
  159. config BR2_ENDIAN
  160. default "BIG" if BR2_powerpc || BR2_powerpc64
  161. default "LITTLE" if BR2_powerpc64le
  162. config BR2_GCC_TARGET_CPU
  163. default "401" if BR2_powerpc_401
  164. default "403" if BR2_powerpc_403
  165. default "405" if BR2_powerpc_405
  166. default "405fp" if BR2_powerpc_405fp
  167. default "440" if BR2_powerpc_440
  168. default "440fp" if BR2_powerpc_440fp
  169. default "464" if BR2_powerpc_464
  170. default "464fp" if BR2_powerpc_464fp
  171. default "476" if BR2_powerpc_476
  172. default "476fp" if BR2_powerpc_476fp
  173. default "505" if BR2_powerpc_505
  174. default "602" if BR2_powerpc_602
  175. default "603" if BR2_powerpc_603
  176. default "603e" if BR2_powerpc_603e
  177. default "604" if BR2_powerpc_604
  178. default "604e" if BR2_powerpc_604e
  179. default "620" if BR2_powerpc_620
  180. default "630" if BR2_powerpc_630
  181. default "740" if BR2_powerpc_740
  182. default "7400" if BR2_powerpc_7400
  183. default "7450" if BR2_powerpc_7450
  184. default "750" if BR2_powerpc_750
  185. default "821" if BR2_powerpc_821
  186. default "823" if BR2_powerpc_823
  187. default "860" if BR2_powerpc_860
  188. default "970" if BR2_powerpc_970
  189. default "8540" if BR2_powerpc_8540
  190. default "8548" if BR2_powerpc_8548
  191. default "e300c2" if BR2_powerpc_e300c2
  192. default "e300c3" if BR2_powerpc_e300c3
  193. default "e500mc" if BR2_powerpc_e500mc
  194. default "e5500" if BR2_powerpc_e5500
  195. default "e6500" if BR2_powerpc_e6500
  196. default "power4" if BR2_powerpc_power4
  197. default "power5" if BR2_powerpc_power5
  198. default "power6" if BR2_powerpc_power6
  199. default "power7" if BR2_powerpc_power7
  200. default "power8" if BR2_powerpc_power8
  201. default "power9" if BR2_powerpc_power9
  202. config BR2_READELF_ARCH_NAME
  203. default "PowerPC" if BR2_powerpc
  204. default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le
  205. # vim: ft=kconfig
  206. # -*- mode:kconfig; -*-