Config.in.powerpc 5.2 KB

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