Config.in.cpu 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  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_A5
  64. bool
  65. select ADK_TARGET_WITH_NPTL
  66. select ADK_TARGET_WITH_MMU
  67. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  68. select ADK_TARGET_CPU_WITH_NEON
  69. config ADK_CPU_CORTEX_A7
  70. bool
  71. select ADK_TARGET_WITH_NPTL
  72. select ADK_TARGET_WITH_MMU
  73. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  74. select ADK_TARGET_CPU_WITH_NEON
  75. config ADK_CPU_CORTEX_A8
  76. bool
  77. select ADK_TARGET_WITH_NPTL
  78. select ADK_TARGET_WITH_MMU
  79. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  80. select ADK_TARGET_CPU_WITH_NEON
  81. config ADK_CPU_CORTEX_A9
  82. bool
  83. select ADK_TARGET_WITH_NPTL
  84. select ADK_TARGET_WITH_MMU
  85. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  86. select ADK_TARGET_CPU_WITH_NEON
  87. config ADK_CPU_CORTEX_A15
  88. bool
  89. select ADK_TARGET_WITH_NPTL
  90. select ADK_TARGET_WITH_MMU
  91. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  92. select ADK_TARGET_CPU_WITH_NEON
  93. config ADK_CPU_CORTEX_A53
  94. bool
  95. select ADK_TARGET_WITH_NPTL
  96. select ADK_TARGET_WITH_MMU
  97. config ADK_CPU_CORTEX_A57
  98. bool
  99. select ADK_TARGET_WITH_NPTL
  100. select ADK_TARGET_WITH_MMU
  101. config ADK_CPU_CRIS_V10
  102. bool
  103. select ADK_TARGET_WITH_LT
  104. config ADK_CPU_CRIS_V32
  105. bool
  106. select ADK_TARGET_WITH_LT
  107. config ADK_CPU_GEODE
  108. bool
  109. select ADK_TARGET_WITH_NPTL
  110. select ADK_TARGET_WITH_MMU
  111. config ADK_CPU_I486
  112. bool
  113. select ADK_TARGET_WITH_NPTL
  114. select ADK_TARGET_WITH_MMU
  115. config ADK_CPU_I586
  116. bool
  117. select ADK_TARGET_WITH_NPTL
  118. select ADK_TARGET_WITH_MMU
  119. config ADK_CPU_I686
  120. bool
  121. select ADK_TARGET_WITH_NPTL
  122. select ADK_TARGET_WITH_MMU
  123. config ADK_CPU_LOONGSON2F
  124. bool
  125. select ADK_TARGET_WITH_NPTL
  126. select ADK_TARGET_WITH_MMU
  127. config ADK_CPU_M68K
  128. bool
  129. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  130. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  131. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  132. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  133. config ADK_CPU_MIPS32
  134. bool
  135. select ADK_TARGET_WITH_NPTL
  136. select ADK_TARGET_WITH_MMU
  137. select ADK_TARGET_CPU_WITH_FPU
  138. config ADK_CPU_MIPS32R2
  139. bool
  140. select ADK_TARGET_WITH_NPTL
  141. select ADK_TARGET_WITH_MMU
  142. select ADK_TARGET_CPU_WITH_FPU
  143. config ADK_CPU_MIPS64
  144. bool
  145. select ADK_TARGET_WITH_NPTL
  146. select ADK_TARGET_WITH_MMU
  147. config ADK_CPU_MIPS64R2
  148. bool
  149. select ADK_TARGET_WITH_NPTL
  150. select ADK_TARGET_WITH_MMU
  151. config ADK_CPU_MICROBLAZE
  152. bool
  153. select ADK_TARGET_WITH_LT if ADK_TARGET_LIBC_UCLIBC_NG
  154. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  155. select ADK_TARGET_WITH_NPTL
  156. config ADK_CPU_NIOS2
  157. bool
  158. select ADK_TARGET_WITH_NPTL
  159. select ADK_TARGET_WITH_MMU
  160. config ADK_CPU_PARISC
  161. bool
  162. select ADK_TARGET_WITH_NPTL
  163. select ADK_TARGET_WITH_MMU
  164. config ADK_CPU_PENTIUM_M
  165. bool
  166. select ADK_TARGET_WITH_NPTL
  167. select ADK_TARGET_WITH_MMU
  168. config ADK_CPU_PPC
  169. bool
  170. select ADK_TARGET_WITH_NPTL
  171. select ADK_TARGET_WITH_MMU
  172. config ADK_CPU_PPC_440
  173. bool
  174. select ADK_TARGET_WITH_NPTL
  175. select ADK_TARGET_WITH_MMU
  176. config ADK_CPU_PPC64
  177. bool
  178. select ADK_TARGET_WITH_NPTL
  179. select ADK_TARGET_WITH_MMU
  180. config ADK_CPU_SH4
  181. bool
  182. select ADK_TARGET_WITH_NPTL
  183. select ADK_TARGET_WITH_MMU
  184. config ADK_CPU_SPARC_V8
  185. bool
  186. select ADK_TARGET_WITH_NPTL
  187. select ADK_TARGET_WITH_MMU
  188. config ADK_CPU_SPARC_V9
  189. bool
  190. select ADK_TARGET_WITH_NPTL
  191. select ADK_TARGET_WITH_MMU
  192. config ADK_CPU_TILE
  193. bool
  194. select ADK_TARGET_WITH_NPTL
  195. select ADK_TARGET_WITH_MMU
  196. config ADK_CPU_X86
  197. bool
  198. select ADK_TARGET_WITH_NPTL
  199. select ADK_TARGET_WITH_MMU
  200. config ADK_CPU_X86_64
  201. bool
  202. select ADK_TARGET_WITH_NPTL
  203. select ADK_TARGET_WITH_MMU
  204. config ADK_CPU_XSCALE
  205. bool
  206. select ADK_TARGET_WITH_NPTL
  207. select ADK_TARGET_WITH_MMU
  208. config ADK_CPU_XTENSA
  209. bool
  210. select ADK_TARGET_WITH_NPTL
  211. select ADK_TARGET_WITH_MMU
  212. # CPU features
  213. config ADK_TARGET_CPU_WITH_FPU
  214. bool
  215. config ADK_TARGET_CPU_WITH_FPU_VFP
  216. bool
  217. select ADK_TARGET_CPU_WITH_FPU
  218. config ADK_TARGET_CPU_WITH_FPU_VFPV3
  219. bool
  220. select ADK_TARGET_CPU_WITH_FPU
  221. config ADK_TARGET_CPU_WITH_FPU_VFPV4
  222. bool
  223. select ADK_TARGET_CPU_WITH_FPU
  224. config ADK_TARGET_CPU_WITH_VT
  225. bool
  226. config ADK_TARGET_CPU_WITH_MTRR
  227. bool
  228. config ADK_TARGET_CPU_WITH_MMX
  229. bool
  230. config ADK_TARGET_CPU_WITH_MMXEXT
  231. bool
  232. config ADK_TARGET_CPU_WITH_SSE
  233. bool
  234. config ADK_TARGET_CPU_WITH_SSE2
  235. bool
  236. config ADK_TARGET_CPU_WITH_SSE3
  237. bool
  238. config ADK_TARGET_CPU_WITH_SSSE3
  239. bool
  240. config ADK_TARGET_CPU_WITH_IWMMXT
  241. bool
  242. config ADK_TARGET_CPU_WITH_NEON
  243. bool
  244. config ADK_TARGET_CPU_WITH_HT
  245. bool
  246. config ADK_TARGET_CPU_WITH_3DNOW
  247. bool
  248. config ADK_TARGET_CPU_WITH_3DNOWEXT
  249. bool
  250. config ADK_TARGET_GCC_CPU
  251. string
  252. default "440" if ADK_CPU_PPC_440
  253. default "5208" if ADK_CPU_CF_5208
  254. default "arc700" if ADK_CPU_ARC700
  255. default "arcv2em" if ADK_CPU_ARCv2EM
  256. default "arm1176jzf-s" if ADK_CPU_ARM1176JZF_S
  257. default "arm926ej-s" if ADK_CPU_ARM926EJ_S
  258. default "armv8-a" if ADK_CPU_ARMV8
  259. default "cortex-a5" if ADK_CPU_CORTEX_A5
  260. default "cortex-a7" if ADK_CPU_CORTEX_A7
  261. default "cortex-a8" if ADK_CPU_CORTEX_A8
  262. default "cortex-a9" if ADK_CPU_CORTEX_A9
  263. default "cortex-a15" if ADK_CPU_CORTEX_A15
  264. default "cortex-a53" if ADK_CPU_CORTEX_A53
  265. default "cortex-a57" if ADK_CPU_CORTEX_A57
  266. default "cortex-m3" if ADK_CPU_CORTEX_M3
  267. default "cortex-m4" if ADK_CPU_CORTEX_M4
  268. default "powerpc" if ADK_CPU_PPC
  269. default "powerpc64" if ADK_CPU_PPC64
  270. default "ultrasparc" if ADK_CPU_SPARC_V9
  271. default "v8" if ADK_CPU_SPARC_V8
  272. default "xscale" if ADK_CPU_XSCALE
  273. config ADK_TARGET_GCC_ARCH
  274. string
  275. default "amdfam10" if ADK_CPU_AMDFAM10
  276. default "athlon" if ADK_CPU_ATHLON
  277. default "atom" if ADK_CPU_ATOM
  278. default "geode" if ADK_CPU_GEODE
  279. default "i486" if ADK_CPU_I486
  280. default "i586" if ADK_CPU_I586
  281. default "i686" if ADK_CPU_I686
  282. default "loongson2f" if ADK_CPU_LOONGSON2F
  283. default "mips32" if ADK_CPU_MIPS32
  284. default "mips32r2" if ADK_CPU_MIPS32R2
  285. default "mips64" if ADK_CPU_MIPS64
  286. default "mips64r2" if ADK_CPU_MIPS64R2
  287. default "pentium-m" if ADK_CPU_PENTIUM_M
  288. default "x86-64" if ADK_CPU_X86_64
  289. config ADK_TARGET_CPU_FLAGS
  290. string
  291. default "-mcpu=v10" if ADK_CPU_CRIS_V10
  292. default "-mcpu=v32" if ADK_CPU_CRIS_V32
  293. default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE
  294. config ADK_TARGET_CPU_ARCH
  295. string
  296. default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
  297. default "alpha" if ADK_TARGET_ARCH_ALPHA
  298. default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
  299. default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
  300. default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
  301. default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
  302. default "avr32" if ADK_CPU_AVR32
  303. default "bfin" if ADK_CPU_BFIN
  304. default "c6x" if ADK_CPU_C6X
  305. default "cris" if ADK_CPU_CRIS_V10
  306. default "crisv32" if ADK_CPU_CRIS_V32
  307. default "i486" if ADK_CPU_I486
  308. default "i586" if ADK_CPU_I586
  309. default "i686" if ADK_CPU_I686
  310. default "i586" if ADK_CPU_GEODE
  311. default "i686" if ADK_CPU_PENTIUM_M
  312. default "i686" if ADK_CPU_ATOM
  313. default "i686" if ADK_CPU_ATHLON
  314. default "hppa" if ADK_TARGET_ARCH_HPPA
  315. default "m68k" if ADK_TARGET_ARCH_M68K
  316. default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
  317. default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
  318. default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
  319. default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
  320. default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
  321. default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
  322. default "nios2" if ADK_TARGET_ARCH_NIOS2
  323. default "ppc" if ADK_CPU_PPC
  324. default "ppc" if ADK_CPU_PPC_440
  325. default "ppc64" if ADK_CPU_PPC64
  326. default "sh4" if ADK_TARGET_ARCH_SH && ADK_TARGET_LITTLE_ENDIAN
  327. default "sh4eb" if ADK_TARGET_ARCH_SH && ADK_TARGET_BIG_ENDIAN
  328. default "sparc" if ADK_TARGET_ARCH_SPARC
  329. default "sparc64" if ADK_TARGET_ARCH_SPARC64
  330. default "tilegx" if ADK_CPU_TILE
  331. default "x86_64" if ADK_CPU_X86_64
  332. default "x86_64" if ADK_CPU_AMDFAM10
  333. default "xtensa" if ADK_TARGET_ARCH_XTENSA