2
1

Config.in.powerpc 5.2 KB

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