Config.in.cpu 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. # CPU
  4. config ADK_CPU_ALPHA
  5. bool
  6. select ADK_TARGET_WITH_NPTL
  7. select ADK_TARGET_WITH_MMU
  8. config ADK_CPU_AMDFAM10
  9. bool
  10. select ADK_TARGET_CPU_WITH_VT
  11. select ADK_TARGET_WITH_NPTL
  12. select ADK_TARGET_WITH_MMU
  13. config ADK_CPU_ARC700
  14. bool
  15. select ADK_TARGET_WITH_NPTL
  16. select ADK_TARGET_WITH_MMU
  17. config ADK_CPU_ARCv2EM
  18. bool
  19. select ADK_TARGET_WITH_NPTL
  20. select ADK_TARGET_WITH_MMU
  21. config ADK_CPU_ARM1176JZF_S
  22. bool
  23. select ADK_TARGET_WITH_NPTL
  24. select ADK_TARGET_WITH_MMU
  25. select ADK_TARGET_CPU_WITH_FPU_VFP
  26. config ADK_CPU_ARM926EJ_S
  27. bool
  28. select ADK_TARGET_WITH_NPTL
  29. select ADK_TARGET_WITH_MMU
  30. config ADK_CPU_ARMV8
  31. bool
  32. select ADK_TARGET_WITH_NPTL
  33. select ADK_TARGET_WITH_MMU
  34. config ADK_CPU_ATHLON
  35. bool
  36. select ADK_TARGET_WITH_NPTL
  37. select ADK_TARGET_WITH_MMU
  38. config ADK_CPU_ATOM
  39. bool
  40. select ADK_TARGET_WITH_NPTL
  41. select ADK_TARGET_WITH_MMU
  42. config ADK_CPU_AVR32
  43. bool
  44. select ADK_TARGET_WITH_LT
  45. config ADK_CPU_BFIN
  46. bool
  47. select ADK_TARGET_WITH_LT
  48. config ADK_CPU_C6X
  49. bool
  50. select ADK_TARGET_WITH_LT
  51. config ADK_CPU_CF
  52. bool
  53. config ADK_CPU_CF_5208
  54. bool
  55. select ADK_CPU_CF
  56. select ADK_TARGET_WITH_LT
  57. config ADK_CPU_CORTEX_M3
  58. bool
  59. select ADK_TARGET_WITH_LT
  60. config ADK_CPU_CORTEX_M4
  61. bool
  62. select ADK_TARGET_WITH_LT
  63. config ADK_CPU_CORTEX_A7
  64. bool
  65. select ADK_TARGET_WITH_NPTL
  66. select ADK_TARGET_WITH_MMU
  67. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  68. config ADK_CPU_CORTEX_A8
  69. bool
  70. select ADK_TARGET_WITH_NPTL
  71. select ADK_TARGET_WITH_MMU
  72. config ADK_CPU_CORTEX_A9
  73. bool
  74. select ADK_TARGET_WITH_NPTL
  75. select ADK_TARGET_WITH_MMU
  76. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  77. config ADK_CPU_CORTEX_A53
  78. bool
  79. select ADK_TARGET_WITH_NPTL
  80. select ADK_TARGET_WITH_MMU
  81. config ADK_CPU_CORTEX_A57
  82. bool
  83. select ADK_TARGET_WITH_NPTL
  84. select ADK_TARGET_WITH_MMU
  85. config ADK_CPU_CRIS_V10
  86. bool
  87. select ADK_TARGET_WITH_LT
  88. config ADK_CPU_CRIS_V32
  89. bool
  90. select ADK_TARGET_WITH_LT
  91. config ADK_CPU_GEODE
  92. bool
  93. select ADK_TARGET_WITH_NPTL
  94. select ADK_TARGET_WITH_MMU
  95. config ADK_CPU_I486
  96. bool
  97. select ADK_TARGET_WITH_NPTL
  98. select ADK_TARGET_WITH_MMU
  99. config ADK_CPU_I586
  100. bool
  101. select ADK_TARGET_WITH_NPTL
  102. select ADK_TARGET_WITH_MMU
  103. config ADK_CPU_I686
  104. bool
  105. select ADK_TARGET_WITH_NPTL
  106. select ADK_TARGET_WITH_MMU
  107. config ADK_CPU_LOONGSON2F
  108. bool
  109. select ADK_TARGET_WITH_NPTL
  110. select ADK_TARGET_WITH_MMU
  111. config ADK_CPU_M68K
  112. bool
  113. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  114. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  115. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  116. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  117. config ADK_CPU_MIPS32
  118. bool
  119. select ADK_TARGET_WITH_NPTL
  120. select ADK_TARGET_WITH_MMU
  121. select ADK_TARGET_CPU_WITH_FPU
  122. config ADK_CPU_MIPS32R2
  123. bool
  124. select ADK_TARGET_WITH_NPTL
  125. select ADK_TARGET_WITH_MMU
  126. select ADK_TARGET_CPU_WITH_FPU
  127. config ADK_CPU_MIPS64
  128. bool
  129. select ADK_TARGET_WITH_NPTL
  130. select ADK_TARGET_WITH_MMU
  131. config ADK_CPU_MIPS64R2
  132. bool
  133. select ADK_TARGET_WITH_NPTL
  134. select ADK_TARGET_WITH_MMU
  135. config ADK_CPU_MICROBLAZE
  136. bool
  137. select ADK_TARGET_WITH_LT if ADK_TARGET_LIBC_UCLIBC_NG
  138. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  139. select ADK_TARGET_WITH_NPTL
  140. config ADK_CPU_NIOS2
  141. bool
  142. select ADK_TARGET_WITH_NPTL
  143. select ADK_TARGET_WITH_MMU
  144. config ADK_CPU_PARISC
  145. bool
  146. select ADK_TARGET_WITH_NPTL
  147. select ADK_TARGET_WITH_MMU
  148. config ADK_CPU_PENTIUM_M
  149. bool
  150. select ADK_TARGET_WITH_NPTL
  151. select ADK_TARGET_WITH_MMU
  152. config ADK_CPU_PPC
  153. bool
  154. select ADK_TARGET_WITH_NPTL
  155. select ADK_TARGET_WITH_MMU
  156. config ADK_CPU_PPC_440
  157. bool
  158. select ADK_TARGET_WITH_NPTL
  159. select ADK_TARGET_WITH_MMU
  160. config ADK_CPU_PPC64
  161. bool
  162. select ADK_TARGET_WITH_NPTL
  163. select ADK_TARGET_WITH_MMU
  164. config ADK_CPU_SH4
  165. bool
  166. select ADK_TARGET_WITH_NPTL
  167. select ADK_TARGET_WITH_MMU
  168. config ADK_CPU_SPARC_V8
  169. bool
  170. select ADK_TARGET_WITH_NPTL
  171. select ADK_TARGET_WITH_MMU
  172. config ADK_CPU_SPARC_V9
  173. bool
  174. select ADK_TARGET_WITH_NPTL
  175. select ADK_TARGET_WITH_MMU
  176. config ADK_CPU_TILE
  177. bool
  178. select ADK_TARGET_WITH_NPTL
  179. select ADK_TARGET_WITH_MMU
  180. config ADK_CPU_X86
  181. bool
  182. select ADK_TARGET_WITH_NPTL
  183. select ADK_TARGET_WITH_MMU
  184. config ADK_CPU_X86_64
  185. bool
  186. select ADK_TARGET_WITH_NPTL
  187. select ADK_TARGET_WITH_MMU
  188. config ADK_CPU_XSCALE
  189. bool
  190. select ADK_TARGET_WITH_NPTL
  191. select ADK_TARGET_WITH_MMU
  192. config ADK_CPU_XTENSA
  193. bool
  194. select ADK_TARGET_WITH_NPTL
  195. select ADK_TARGET_WITH_MMU
  196. # CPU features
  197. config ADK_TARGET_CPU_WITH_FPU
  198. bool
  199. config ADK_TARGET_CPU_WITH_FPU_VFP
  200. bool
  201. select ADK_TARGET_CPU_WITH_FPU
  202. config ADK_TARGET_CPU_WITH_FPU_VFPV3
  203. bool
  204. select ADK_TARGET_CPU_WITH_FPU
  205. config ADK_TARGET_CPU_WITH_FPU_VFPV4
  206. bool
  207. select ADK_TARGET_CPU_WITH_FPU
  208. config ADK_TARGET_CPU_WITH_VT
  209. bool
  210. config ADK_TARGET_CPU_WITH_MTRR
  211. bool
  212. config ADK_TARGET_CPU_WITH_MMX
  213. bool
  214. config ADK_TARGET_CPU_WITH_MMXEXT
  215. bool
  216. config ADK_TARGET_CPU_WITH_SSE
  217. bool
  218. config ADK_TARGET_CPU_WITH_SSE2
  219. bool
  220. config ADK_TARGET_CPU_WITH_SSE3
  221. bool
  222. config ADK_TARGET_CPU_WITH_SSSE3
  223. bool
  224. config ADK_TARGET_CPU_WITH_IWMMXT
  225. bool
  226. config ADK_TARGET_CPU_WITH_NEON
  227. bool
  228. config ADK_TARGET_CPU_WITH_HT
  229. bool
  230. config ADK_TARGET_CPU_WITH_3DNOW
  231. bool
  232. config ADK_TARGET_CPU_WITH_3DNOWEXT
  233. bool
  234. config ADK_TARGET_GCC_CPU
  235. string
  236. default "440" if ADK_CPU_PPC_440
  237. default "5208" if ADK_CPU_CF_5208
  238. default "arc700" if ADK_CPU_ARC700
  239. default "arcv2em" if ADK_CPU_ARCv2EM
  240. default "arm1176jzf-s" if ADK_CPU_ARM1176JZF_S
  241. default "arm926ej-s" if ADK_CPU_ARM926EJ_S
  242. default "armv8-a" if ADK_CPU_ARMV8
  243. default "cortex-a7" if ADK_CPU_CORTEX_A7
  244. default "cortex-a8" if ADK_CPU_CORTEX_A8
  245. default "cortex-a9" if ADK_CPU_CORTEX_A9
  246. default "cortex-a53" if ADK_CPU_CORTEX_A53
  247. default "cortex-a57" if ADK_CPU_CORTEX_A57
  248. default "cortex-m3" if ADK_CPU_CORTEX_M3
  249. default "cortex-m4" if ADK_CPU_CORTEX_M4
  250. default "powerpc" if ADK_CPU_PPC
  251. default "powerpc64" if ADK_CPU_PPC64
  252. default "ultrasparc" if ADK_CPU_SPARC_V9
  253. default "v8" if ADK_CPU_SPARC_V8
  254. default "xscale" if ADK_CPU_XSCALE
  255. config ADK_TARGET_GCC_ARCH
  256. string
  257. default "amdfam10" if ADK_CPU_AMDFAM10
  258. default "athlon" if ADK_CPU_ATHLON
  259. default "atom" if ADK_CPU_ATOM
  260. default "geode" if ADK_CPU_GEODE
  261. default "i486" if ADK_CPU_I486
  262. default "i586" if ADK_CPU_I586
  263. default "i686" if ADK_CPU_I686
  264. default "loongson2f" if ADK_CPU_LOONGSON2F
  265. default "mips32" if ADK_CPU_MIPS32
  266. default "mips32r2" if ADK_CPU_MIPS32R2
  267. default "mips64" if ADK_CPU_MIPS64
  268. default "mips64r2" if ADK_CPU_MIPS64R2
  269. default "pentium-m" if ADK_CPU_PENTIUM_M
  270. default "x86-64" if ADK_CPU_X86_64
  271. config ADK_TARGET_CPU_FLAGS
  272. string
  273. default "-mcpu=v10" if ADK_CPU_CRIS_V10
  274. default "-mcpu=v32" if ADK_CPU_CRIS_V32
  275. default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE
  276. config ADK_TARGET_CPU_ARCH
  277. string
  278. default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
  279. default "alpha" if ADK_TARGET_ARCH_ALPHA
  280. default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
  281. default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
  282. default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
  283. default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
  284. default "avr32" if ADK_CPU_AVR32
  285. default "bfin" if ADK_CPU_BFIN
  286. default "c6x" if ADK_CPU_C6X
  287. default "cris" if ADK_CPU_CRIS_V10
  288. default "crisv32" if ADK_CPU_CRIS_V32
  289. default "i486" if ADK_CPU_I486
  290. default "i586" if ADK_CPU_I586
  291. default "i686" if ADK_CPU_I686
  292. default "i586" if ADK_CPU_GEODE
  293. default "i686" if ADK_CPU_PENTIUM_M
  294. default "i686" if ADK_CPU_ATOM
  295. default "i686" if ADK_CPU_ATHLON
  296. default "hppa" if ADK_TARGET_ARCH_HPPA
  297. default "m68k" if ADK_TARGET_ARCH_M68K
  298. default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
  299. default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
  300. default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
  301. default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
  302. default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
  303. default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
  304. default "nios2" if ADK_TARGET_ARCH_NIOS2
  305. default "ppc" if ADK_CPU_PPC
  306. default "ppc" if ADK_CPU_PPC_440
  307. default "ppc64" if ADK_CPU_PPC64
  308. default "sh4" if ADK_TARGET_ARCH_SH && ADK_TARGET_LITTLE_ENDIAN
  309. default "sh4eb" if ADK_TARGET_ARCH_SH && ADK_TARGET_BIG_ENDIAN
  310. default "sparc" if ADK_TARGET_ARCH_SPARC
  311. default "sparc64" if ADK_TARGET_ARCH_SPARC64
  312. default "tilegx" if ADK_CPU_TILE
  313. default "x86_64" if ADK_CPU_X86_64
  314. default "x86_64" if ADK_CPU_AMDFAM10
  315. default "xtensa" if ADK_TARGET_ARCH_XTENSA