Config.in.cpu 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643
  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. choice ADK_TARGET_CPU
  4. prompt "CPU" if !ADK_TARGET_CHOOSE_ARCH
  5. # aarch64
  6. config ADK_TARGET_CPU_AARCH64_CORTEX_A53
  7. bool "cortex-a53"
  8. select ADK_LINUX_64
  9. select ADK_TARGET_WITH_NPTL
  10. select ADK_TARGET_WITH_MMU
  11. depends on ADK_TARGET_ARCH_AARCH64
  12. config ADK_TARGET_CPU_AARCH64_CORTEX_A57
  13. bool "cortex-a57"
  14. select ADK_LINUX_64
  15. select ADK_TARGET_WITH_NPTL
  16. select ADK_TARGET_WITH_MMU
  17. depends on ADK_TARGET_ARCH_AARCH64
  18. # alpha
  19. config ADK_TARGET_CPU_ALPHA
  20. bool "alpha"
  21. select ADK_LINUX_64
  22. select ADK_TARGET_WITHOUT_THREADS if ADK_TARGET_LIB_UCLIBC_NG
  23. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  24. select ADK_TARGET_WITH_MMU
  25. select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
  26. depends on ADK_TARGET_ARCH_ALPHA
  27. # arc
  28. config ADK_TARGET_CPU_ARC_ARC700
  29. bool "ARC700 (ARCv1)"
  30. select ADK_TARGET_WITH_NPTL
  31. select ADK_TARGET_WITH_MMU
  32. depends on ADK_TARGET_ARCH_ARC
  33. config ADK_TARGET_CPU_ARC_ARC_HS
  34. bool "ARC HS (ARCv2)"
  35. select ADK_TARGET_WITH_NPTL
  36. select ADK_TARGET_WITH_MMU
  37. depends on ADK_TARGET_ARCH_ARC
  38. # arm
  39. config ADK_TARGET_CPU_ARM_ARM1176JZF_S
  40. bool "arm1176jzf-s"
  41. select ADK_TARGET_WITH_NPTL
  42. select ADK_TARGET_WITH_MMU
  43. select ADK_TARGET_CPU_WITH_FPU_VFP
  44. depends on ADK_TARGET_ARCH_ARM
  45. config ADK_TARGET_CPU_ARM_ARM926EJ_S
  46. bool "arm926ej-s"
  47. select ADK_TARGET_WITH_NPTL
  48. select ADK_TARGET_WITH_MMU
  49. depends on ADK_TARGET_ARCH_ARM
  50. config ADK_TARGET_CPU_ARM_ARM11MPCORE
  51. bool "arm11mpcore"
  52. select ADK_TARGET_WITH_NPTL
  53. select ADK_TARGET_WITH_MMU
  54. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  55. depends on ADK_TARGET_ARCH_ARM
  56. config ADK_TARGET_CPU_ARM_CORTEX_A5
  57. bool "cortex-a5"
  58. select ADK_TARGET_WITH_NPTL
  59. select ADK_TARGET_WITH_MMU
  60. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  61. select ADK_TARGET_CPU_WITH_NEON
  62. depends on ADK_TARGET_ARCH_ARM
  63. config ADK_TARGET_CPU_ARM_CORTEX_A7
  64. bool "cortex-a7"
  65. select ADK_TARGET_WITH_NPTL
  66. select ADK_TARGET_WITH_MMU
  67. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  68. select ADK_TARGET_CPU_WITH_NEON
  69. depends on ADK_TARGET_ARCH_ARM
  70. config ADK_TARGET_CPU_ARM_CORTEX_A8
  71. bool "cortex-a8"
  72. select ADK_TARGET_WITH_NPTL
  73. select ADK_TARGET_WITH_MMU
  74. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  75. select ADK_TARGET_CPU_WITH_NEON
  76. depends on ADK_TARGET_ARCH_ARM
  77. config ADK_TARGET_CPU_ARM_CORTEX_A9
  78. bool "cortex-a9"
  79. select ADK_TARGET_WITH_NPTL
  80. select ADK_TARGET_WITH_MMU
  81. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  82. select ADK_TARGET_CPU_WITH_NEON
  83. depends on ADK_TARGET_ARCH_ARM
  84. config ADK_TARGET_CPU_ARM_CORTEX_A15
  85. bool "cortex-a15"
  86. select ADK_TARGET_WITH_NPTL
  87. select ADK_TARGET_WITH_MMU
  88. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  89. select ADK_TARGET_CPU_WITH_NEON
  90. depends on ADK_TARGET_ARCH_ARM
  91. config ADK_TARGET_CPU_ARM_CORTEX_A17
  92. bool "cortex-a17"
  93. select ADK_TARGET_WITH_NPTL
  94. select ADK_TARGET_WITH_MMU
  95. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  96. select ADK_TARGET_CPU_WITH_NEON
  97. depends on ADK_TARGET_ARCH_ARM
  98. config ADK_TARGET_CPU_ARM_CORTEX_M4
  99. bool "cortex-m4"
  100. select ADK_TARGET_UCLINUX
  101. select ADK_TARGET_WITH_LT
  102. select ADK_TARGET_WITHOUT_MMU
  103. select ADK_TARGET_ARCH_ARM_WITH_THUMB
  104. depends on ADK_TARGET_ARCH_ARM
  105. config ADK_TARGET_CPU_ARM_CORTEX_M3
  106. bool "cortex-m3"
  107. select ADK_TARGET_UCLINUX
  108. select ADK_TARGET_WITH_LT
  109. select ADK_TARGET_WITHOUT_MMU
  110. select ADK_TARGET_ARCH_ARM_WITH_THUMB
  111. depends on ADK_TARGET_ARCH_ARM
  112. config ADK_TARGET_CPU_ARM_XSCALE
  113. bool "xscale"
  114. depends on ADK_TARGET_ARCH_ARM
  115. # avr32
  116. config ADK_TARGET_CPU_AVR32
  117. bool "avr32"
  118. select ADK_TARGET_WITH_LT
  119. select ADK_TARGET_WITH_MMU
  120. depends on ADK_TARGET_ARCH_AVR32
  121. # bfin
  122. config ADK_TARGET_CPU_BFIN_BF512
  123. bool "bf512"
  124. select ADK_TARGET_WITH_LT
  125. select ADK_TARGET_WITHOUT_MMU
  126. depends on ADK_TARGET_ARCH_BFIN
  127. config ADK_TARGET_CPU_BFIN_BF514
  128. bool "bf514"
  129. select ADK_TARGET_WITH_LT
  130. select ADK_TARGET_WITHOUT_MMU
  131. depends on ADK_TARGET_ARCH_BFIN
  132. config ADK_TARGET_CPU_BFIN_BF516
  133. bool "bf516"
  134. select ADK_TARGET_WITH_LT
  135. select ADK_TARGET_WITHOUT_MMU
  136. depends on ADK_TARGET_ARCH_BFIN
  137. config ADK_TARGET_CPU_BFIN_BF518
  138. bool "bf518"
  139. select ADK_TARGET_WITH_LT
  140. select ADK_TARGET_WITHOUT_MMU
  141. depends on ADK_TARGET_ARCH_BFIN
  142. config ADK_TARGET_CPU_BFIN_BF522
  143. bool "bf522"
  144. select ADK_TARGET_WITH_LT
  145. select ADK_TARGET_WITHOUT_MMU
  146. depends on ADK_TARGET_ARCH_BFIN
  147. config ADK_TARGET_CPU_BFIN_BF523
  148. bool "bf523"
  149. select ADK_TARGET_WITH_LT
  150. select ADK_TARGET_WITHOUT_MMU
  151. depends on ADK_TARGET_ARCH_BFIN
  152. config ADK_TARGET_CPU_BFIN_BF524
  153. bool "bf524"
  154. select ADK_TARGET_WITH_LT
  155. select ADK_TARGET_WITHOUT_MMU
  156. depends on ADK_TARGET_ARCH_BFIN
  157. config ADK_TARGET_CPU_BFIN_BF525
  158. bool "bf525"
  159. select ADK_TARGET_WITH_LT
  160. select ADK_TARGET_WITHOUT_MMU
  161. depends on ADK_TARGET_ARCH_BFIN
  162. config ADK_TARGET_CPU_BFIN_BF526
  163. bool "bf526"
  164. select ADK_TARGET_WITH_LT
  165. select ADK_TARGET_WITHOUT_MMU
  166. depends on ADK_TARGET_ARCH_BFIN
  167. config ADK_TARGET_CPU_BFIN_BF527
  168. bool "bf527"
  169. select ADK_TARGET_WITH_LT
  170. select ADK_TARGET_WITHOUT_MMU
  171. depends on ADK_TARGET_ARCH_BFIN
  172. config ADK_TARGET_CPU_BFIN_BF531
  173. bool "bf531"
  174. select ADK_TARGET_WITH_LT
  175. select ADK_TARGET_WITHOUT_MMU
  176. depends on ADK_TARGET_ARCH_BFIN
  177. config ADK_TARGET_CPU_BFIN_BF532
  178. bool "bf532"
  179. select ADK_TARGET_WITH_LT
  180. select ADK_TARGET_WITHOUT_MMU
  181. depends on ADK_TARGET_ARCH_BFIN
  182. config ADK_TARGET_CPU_BFIN_BF533
  183. bool "bf533"
  184. select ADK_TARGET_WITH_LT
  185. select ADK_TARGET_WITHOUT_MMU
  186. depends on ADK_TARGET_ARCH_BFIN
  187. config ADK_TARGET_CPU_BFIN_BF534
  188. bool "bf534"
  189. select ADK_TARGET_WITH_LT
  190. select ADK_TARGET_WITHOUT_MMU
  191. depends on ADK_TARGET_ARCH_BFIN
  192. config ADK_TARGET_CPU_BFIN_BF536
  193. bool "bf536"
  194. select ADK_TARGET_WITH_LT
  195. select ADK_TARGET_WITHOUT_MMU
  196. depends on ADK_TARGET_ARCH_BFIN
  197. config ADK_TARGET_CPU_BFIN_BF537
  198. bool "bf537"
  199. select ADK_TARGET_WITH_LT
  200. select ADK_TARGET_WITHOUT_MMU
  201. depends on ADK_TARGET_ARCH_BFIN
  202. config ADK_TARGET_CPU_BFIN_BF538
  203. bool "bf538"
  204. select ADK_TARGET_WITH_LT
  205. select ADK_TARGET_WITHOUT_MMU
  206. depends on ADK_TARGET_ARCH_BFIN
  207. config ADK_TARGET_CPU_BFIN_BF539
  208. bool "bf539"
  209. select ADK_TARGET_WITH_LT
  210. select ADK_TARGET_WITHOUT_MMU
  211. depends on ADK_TARGET_ARCH_BFIN
  212. config ADK_TARGET_CPU_BFIN_BF542
  213. bool "bf542"
  214. select ADK_TARGET_WITH_LT
  215. select ADK_TARGET_WITHOUT_MMU
  216. depends on ADK_TARGET_ARCH_BFIN
  217. config ADK_TARGET_CPU_BFIN_BF544
  218. bool "bf544"
  219. select ADK_TARGET_WITH_LT
  220. select ADK_TARGET_WITHOUT_MMU
  221. depends on ADK_TARGET_ARCH_BFIN
  222. config ADK_TARGET_CPU_BFIN_BF547
  223. bool "bf547"
  224. select ADK_TARGET_WITH_LT
  225. select ADK_TARGET_WITHOUT_MMU
  226. depends on ADK_TARGET_ARCH_BFIN
  227. config ADK_TARGET_CPU_BFIN_BF548
  228. bool "bf548"
  229. select ADK_TARGET_WITH_LT
  230. select ADK_TARGET_WITHOUT_MMU
  231. depends on ADK_TARGET_ARCH_BFIN
  232. config ADK_TARGET_CPU_BFIN_BF549
  233. bool "bf549"
  234. select ADK_TARGET_WITH_LT
  235. select ADK_TARGET_WITHOUT_MMU
  236. depends on ADK_TARGET_ARCH_BFIN
  237. config ADK_TARGET_CPU_BFIN_BF542M
  238. bool "bf542m"
  239. select ADK_TARGET_WITH_LT
  240. select ADK_TARGET_WITHOUT_MMU
  241. depends on ADK_TARGET_ARCH_BFIN
  242. config ADK_TARGET_CPU_BFIN_BF544M
  243. bool "bf544m"
  244. select ADK_TARGET_WITH_LT
  245. select ADK_TARGET_WITHOUT_MMU
  246. depends on ADK_TARGET_ARCH_BFIN
  247. config ADK_TARGET_CPU_BFIN_BF547M
  248. bool "bf547m"
  249. select ADK_TARGET_WITH_LT
  250. select ADK_TARGET_WITHOUT_MMU
  251. depends on ADK_TARGET_ARCH_BFIN
  252. config ADK_TARGET_CPU_BFIN_BF548M
  253. bool "bf548m"
  254. select ADK_TARGET_WITH_LT
  255. select ADK_TARGET_WITHOUT_MMU
  256. depends on ADK_TARGET_ARCH_BFIN
  257. config ADK_TARGET_CPU_BFIN_BF549M
  258. bool "bf549m"
  259. select ADK_TARGET_WITH_LT
  260. select ADK_TARGET_WITHOUT_MMU
  261. depends on ADK_TARGET_ARCH_BFIN
  262. config ADK_TARGET_CPU_BFIN_BF561
  263. bool "bf561"
  264. select ADK_TARGET_WITH_LT
  265. select ADK_TARGET_WITHOUT_MMU
  266. depends on ADK_TARGET_ARCH_BFIN
  267. config ADK_TARGET_CPU_BFIN_BF592
  268. bool "bf592"
  269. select ADK_TARGET_WITH_LT
  270. select ADK_TARGET_WITHOUT_MMU
  271. depends on ADK_TARGET_ARCH_BFIN
  272. # c6x
  273. config ADK_TARGET_CPU_C6X
  274. bool "c6x"
  275. select ADK_TARGET_UCLINUX
  276. select ADK_TARGET_WITH_LT
  277. select ADK_TARGET_WITHOUT_MMU
  278. depends on ADK_TARGET_ARCH_C6X
  279. # cris
  280. config ADK_TARGET_CPU_CRIS_CRISV10
  281. bool "crisv10"
  282. select ADK_TARGET_WITH_LT
  283. select ADK_TARGET_WITH_MMU
  284. depends on ADK_TARGET_ARCH_CRIS
  285. config ADK_TARGET_CPU_CRIS_CRISV32
  286. bool "crisv32"
  287. select ADK_TARGET_WITH_LT
  288. select ADK_TARGET_WITH_MMU
  289. depends on ADK_TARGET_ARCH_CRIS
  290. # fr-v
  291. config ADK_TARGET_CPU_FRV
  292. bool "fr-v"
  293. select ADK_TARGET_WITHOUT_MMU
  294. select ADK_TARGET_WITHOUT_THREADS
  295. select ADK_TARGET_WITHOUT_CXX
  296. depends on ADK_TARGET_ARCH_FRV
  297. # h8/300
  298. config ADK_TARGET_CPU_H8300
  299. bool "h8/300"
  300. select ADK_TARGET_WITHOUT_MMU
  301. select ADK_TARGET_WITHOUT_THREADS
  302. select ADK_TARGET_WITHOUT_CXX
  303. depends on ADK_TARGET_ARCH_H8300
  304. # hppa
  305. config ADK_TARGET_CPU_PARISC
  306. bool "parisc"
  307. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  308. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  309. select ADK_TARGET_WITH_MMU
  310. select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
  311. depends on ADK_TARGET_ARCH_HPPA
  312. # ia64
  313. config ADK_TARGET_CPU_IA64
  314. bool "ia64"
  315. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  316. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  317. select ADK_TARGET_WITH_MMU
  318. select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
  319. depends on ADK_TARGET_ARCH_IA64
  320. # lm32
  321. config ADK_TARGET_CPU_LM32
  322. bool "lm32"
  323. select ADK_TARGET_UCLINUX
  324. select ADK_TARGET_WITHOUT_MMU
  325. select ADK_TARGET_WITHOUT_THREADS
  326. depends on ADK_TARGET_ARCH_LM32
  327. # coldfire
  328. config ADK_TARGET_CPU_CF_51
  329. bool "coldfire 51"
  330. select ADK_TARGET_CPU_CF
  331. select ADK_TARGET_UCLINUX
  332. select ADK_TARGET_WITH_LT
  333. select ADK_TARGET_WITHOUT_MMU
  334. depends on ADK_TARGET_ARCH_M68K
  335. config ADK_TARGET_CPU_CF_5206
  336. bool "coldfire 5206"
  337. select ADK_TARGET_CPU_CF
  338. select ADK_TARGET_UCLINUX
  339. select ADK_TARGET_WITH_LT
  340. select ADK_TARGET_WITHOUT_MMU
  341. depends on ADK_TARGET_ARCH_M68K
  342. config ADK_TARGET_CPU_CF_5206E
  343. bool "coldfire 5206e"
  344. select ADK_TARGET_CPU_CF
  345. select ADK_TARGET_UCLINUX
  346. select ADK_TARGET_WITH_LT
  347. select ADK_TARGET_WITHOUT_MMU
  348. depends on ADK_TARGET_ARCH_M68K
  349. config ADK_TARGET_CPU_CF_5208
  350. bool "coldfire 5208"
  351. select ADK_TARGET_CPU_CF
  352. select ADK_TARGET_UCLINUX
  353. select ADK_TARGET_WITH_LT
  354. select ADK_TARGET_WITHOUT_MMU
  355. depends on ADK_TARGET_ARCH_M68K
  356. config ADK_TARGET_CPU_CF_5211A
  357. bool "coldfire 5211a"
  358. select ADK_TARGET_CPU_CF
  359. select ADK_TARGET_UCLINUX
  360. select ADK_TARGET_WITH_LT
  361. select ADK_TARGET_WITHOUT_MMU
  362. depends on ADK_TARGET_ARCH_M68K
  363. config ADK_TARGET_CPU_CF_5213
  364. bool "coldfire 5213"
  365. select ADK_TARGET_CPU_CF
  366. select ADK_TARGET_UCLINUX
  367. select ADK_TARGET_WITH_LT
  368. select ADK_TARGET_WITHOUT_MMU
  369. depends on ADK_TARGET_ARCH_M68K
  370. config ADK_TARGET_CPU_CF_5216
  371. bool "coldfire 5216"
  372. select ADK_TARGET_CPU_CF
  373. select ADK_TARGET_UCLINUX
  374. select ADK_TARGET_WITH_LT
  375. select ADK_TARGET_WITHOUT_MMU
  376. depends on ADK_TARGET_ARCH_M68K
  377. config ADK_TARGET_CPU_CF_52235
  378. bool "coldfire 52235"
  379. select ADK_TARGET_CPU_CF
  380. select ADK_TARGET_UCLINUX
  381. select ADK_TARGET_WITH_LT
  382. select ADK_TARGET_WITHOUT_MMU
  383. depends on ADK_TARGET_ARCH_M68K
  384. config ADK_TARGET_CPU_CF_5225
  385. bool "coldfire 5225"
  386. select ADK_TARGET_CPU_CF
  387. select ADK_TARGET_UCLINUX
  388. select ADK_TARGET_WITH_LT
  389. select ADK_TARGET_WITHOUT_MMU
  390. depends on ADK_TARGET_ARCH_M68K
  391. config ADK_TARGET_CPU_CF_52259
  392. bool "coldfire 52259"
  393. select ADK_TARGET_CPU_CF
  394. select ADK_TARGET_UCLINUX
  395. select ADK_TARGET_WITH_LT
  396. select ADK_TARGET_WITHOUT_MMU
  397. depends on ADK_TARGET_ARCH_M68K
  398. config ADK_TARGET_CPU_CF_5235
  399. bool "coldfire 5235"
  400. select ADK_TARGET_CPU_CF
  401. select ADK_TARGET_UCLINUX
  402. select ADK_TARGET_WITH_LT
  403. select ADK_TARGET_WITHOUT_MMU
  404. depends on ADK_TARGET_ARCH_M68K
  405. config ADK_TARGET_CPU_CF_5249
  406. bool "coldfire 5249"
  407. select ADK_TARGET_CPU_CF
  408. select ADK_TARGET_UCLINUX
  409. select ADK_TARGET_WITH_LT
  410. select ADK_TARGET_WITHOUT_MMU
  411. depends on ADK_TARGET_ARCH_M68K
  412. config ADK_TARGET_CPU_CF_5250
  413. bool "coldfire 5250"
  414. select ADK_TARGET_CPU_CF
  415. select ADK_TARGET_UCLINUX
  416. select ADK_TARGET_WITH_LT
  417. select ADK_TARGET_WITHOUT_MMU
  418. depends on ADK_TARGET_ARCH_M68K
  419. config ADK_TARGET_CPU_CF_5271
  420. bool "coldfire 5271"
  421. select ADK_TARGET_CPU_CF
  422. select ADK_TARGET_UCLINUX
  423. select ADK_TARGET_WITH_LT
  424. select ADK_TARGET_WITHOUT_MMU
  425. depends on ADK_TARGET_ARCH_M68K
  426. config ADK_TARGET_CPU_CF_5272
  427. bool "coldfire 5272"
  428. select ADK_TARGET_CPU_CF
  429. select ADK_TARGET_UCLINUX
  430. select ADK_TARGET_WITH_LT
  431. select ADK_TARGET_WITHOUT_MMU
  432. depends on ADK_TARGET_ARCH_M68K
  433. config ADK_TARGET_CPU_CF_5275
  434. bool "coldfire 5275"
  435. select ADK_TARGET_CPU_CF
  436. select ADK_TARGET_UCLINUX
  437. select ADK_TARGET_WITH_LT
  438. select ADK_TARGET_WITHOUT_MMU
  439. depends on ADK_TARGET_ARCH_M68K
  440. config ADK_TARGET_CPU_CF_5282
  441. bool "coldfire 5282"
  442. select ADK_TARGET_CPU_CF
  443. select ADK_TARGET_UCLINUX
  444. select ADK_TARGET_WITH_LT
  445. select ADK_TARGET_WITHOUT_MMU
  446. depends on ADK_TARGET_ARCH_M68K
  447. config ADK_TARGET_CPU_CF_53017
  448. bool "coldfire 53017"
  449. select ADK_TARGET_CPU_CF
  450. select ADK_TARGET_UCLINUX
  451. select ADK_TARGET_WITH_LT
  452. select ADK_TARGET_WITHOUT_MMU
  453. depends on ADK_TARGET_ARCH_M68K
  454. config ADK_TARGET_CPU_CF_5307
  455. bool "coldfire 5307"
  456. select ADK_TARGET_CPU_CF
  457. select ADK_TARGET_UCLINUX
  458. select ADK_TARGET_WITH_LT
  459. select ADK_TARGET_WITHOUT_MMU
  460. depends on ADK_TARGET_ARCH_M68K
  461. config ADK_TARGET_CPU_CF_5328
  462. bool "coldfire 5328"
  463. select ADK_TARGET_CPU_CF
  464. select ADK_TARGET_UCLINUX
  465. select ADK_TARGET_WITH_LT
  466. select ADK_TARGET_WITHOUT_MMU
  467. depends on ADK_TARGET_ARCH_M68K
  468. config ADK_TARGET_CPU_CF_5329
  469. bool "coldfire 5329"
  470. select ADK_TARGET_CPU_CF
  471. select ADK_TARGET_UCLINUX
  472. select ADK_TARGET_WITH_LT
  473. select ADK_TARGET_WITHOUT_MMU
  474. depends on ADK_TARGET_ARCH_M68K
  475. config ADK_TARGET_CPU_CF_5373
  476. bool "coldfire 5373"
  477. select ADK_TARGET_CPU_CF
  478. select ADK_TARGET_UCLINUX
  479. select ADK_TARGET_WITH_LT
  480. select ADK_TARGET_WITHOUT_MMU
  481. depends on ADK_TARGET_ARCH_M68K
  482. config ADK_TARGET_CPU_CF_5407
  483. bool "coldfire 5407"
  484. select ADK_TARGET_CPU_CF
  485. select ADK_TARGET_UCLINUX
  486. select ADK_TARGET_WITH_LT
  487. select ADK_TARGET_WITHOUT_MMU
  488. depends on ADK_TARGET_ARCH_M68K
  489. config ADK_TARGET_CPU_CF_5475
  490. bool "coldfire 5475"
  491. select ADK_TARGET_CPU_CF
  492. select ADK_TARGET_WITH_LT
  493. select ADK_TARGET_WITH_MMU
  494. depends on ADK_TARGET_ARCH_M68K
  495. # m68k
  496. config ADK_TARGET_CPU_M68K_68020
  497. bool "68020"
  498. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  499. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  500. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  501. depends on ADK_TARGET_ARCH_M68K
  502. config ADK_TARGET_CPU_M68K_68030
  503. bool "68030"
  504. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  505. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  506. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  507. depends on ADK_TARGET_ARCH_M68K
  508. config ADK_TARGET_CPU_M68K_68040
  509. bool "68040"
  510. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  511. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  512. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  513. select ADK_TARGET_CPU_WITH_FPU
  514. depends on ADK_TARGET_ARCH_M68K
  515. config ADK_TARGET_CPU_M68K_68060
  516. bool "68060"
  517. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  518. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  519. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  520. depends on ADK_TARGET_ARCH_M68K
  521. # metag
  522. config ADK_TARGET_CPU_METAG
  523. bool "metag"
  524. select ADK_TARGET_WITH_NPTL
  525. select ADK_TARGET_WITH_MMU
  526. depends on ADK_TARGET_ARCH_METAG
  527. # microblaze
  528. config ADK_TARGET_CPU_MICROBLAZE
  529. bool "microblaze"
  530. select ADK_TARGET_WITHOUT_THREADS if ADK_TARGET_LIB_UCLIBC_NG
  531. select ADK_TARGET_WITHOUT_CXX if ADK_TARGET_LIB_UCLIBC_NG
  532. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  533. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
  534. depends on ADK_TARGET_ARCH_MICROBLAZE
  535. # mips32
  536. config ADK_TARGET_CPU_MIPS_MIPS32
  537. bool "mips32"
  538. select ADK_TARGET_WITH_NPTL
  539. select ADK_TARGET_WITH_MMU
  540. select ADK_TARGET_CPU_WITH_FPU
  541. depends on ADK_TARGET_ARCH_MIPS
  542. config ADK_TARGET_CPU_MIPS_MIPS32R2
  543. bool "mips32r2"
  544. select ADK_TARGET_WITH_NPTL
  545. select ADK_TARGET_WITH_MMU
  546. select ADK_TARGET_CPU_WITH_FPU
  547. depends on ADK_TARGET_ARCH_MIPS
  548. config ADK_TARGET_CPU_MIPS_MIPS32R6
  549. bool "mips32r6"
  550. select ADK_TARGET_WITH_NPTL
  551. select ADK_TARGET_WITH_MMU
  552. select ADK_TARGET_CPU_WITH_FPU
  553. depends on ADK_TARGET_ARCH_MIPS
  554. # mips64
  555. config ADK_TARGET_CPU_MIPS64_MIPS64
  556. bool "mips64"
  557. select ADK_LINUX_64
  558. select ADK_TARGET_WITH_NPTL
  559. select ADK_TARGET_WITH_MMU
  560. depends on ADK_TARGET_ARCH_MIPS64
  561. config ADK_TARGET_CPU_MIPS64_MIPS64R2
  562. bool "mips64r2"
  563. select ADK_LINUX_64
  564. select ADK_TARGET_WITH_NPTL
  565. select ADK_TARGET_WITH_MMU
  566. depends on ADK_TARGET_ARCH_MIPS64
  567. config ADK_TARGET_CPU_MIPS64_MIPS64R6
  568. bool "mips64r6"
  569. select ADK_LINUX_64
  570. select ADK_TARGET_WITH_NPTL
  571. select ADK_TARGET_WITH_MMU
  572. depends on ADK_TARGET_ARCH_MIPS64
  573. config ADK_TARGET_CPU_MIPS64_LOONGSON2F
  574. bool "loongson2f"
  575. select ADK_LINUX_64
  576. select ADK_TARGET_WITH_NPTL
  577. select ADK_TARGET_WITH_MMU
  578. depends on ADK_TARGET_ARCH_MIPS64
  579. # moxie
  580. config ADK_TARGET_CPU_MOXIE
  581. bool "moxie"
  582. select ADK_TARGET_WITH_MMU
  583. depends on ADK_TARGET_ARCH_MOXIE
  584. # nds32
  585. config ADK_TARGET_CPU_NDS32
  586. bool "nds32"
  587. select ADK_TARGET_WITH_NPTL
  588. select ADK_TARGET_WITH_MMU
  589. depends on ADK_TARGET_ARCH_NDS32
  590. # nios2
  591. config ADK_TARGET_CPU_NIOS2
  592. bool "nios2"
  593. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  594. select ADK_TARGET_WITHOUT_CXX if ADK_TARGET_LIB_UCLIBC_NG
  595. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  596. select ADK_TARGET_WITH_MMU
  597. select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
  598. depends on ADK_TARGET_ARCH_NIOS2
  599. # openrisc
  600. config ADK_TARGET_CPU_OR1K
  601. bool "or1k"
  602. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  603. select ADK_TARGET_WITHOUT_CXX if ADK_TARGET_LIB_UCLIBC_NG
  604. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_MUSL
  605. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  606. select ADK_TARGET_WITH_MMU
  607. depends on ADK_TARGET_ARCH_OR1K
  608. # ppc32
  609. config ADK_TARGET_CPU_PPC
  610. bool "ppc"
  611. select ADK_TARGET_WITH_NPTL
  612. select ADK_TARGET_WITH_MMU
  613. depends on ADK_TARGET_ARCH_PPC
  614. config ADK_TARGET_CPU_PPC_440
  615. bool "ppc400"
  616. select ADK_TARGET_WITH_NPTL
  617. select ADK_TARGET_WITH_MMU
  618. depends on ADK_TARGET_ARCH_PPC
  619. # ppc64
  620. config ADK_TARGET_CPU_PPC64_POWER6
  621. bool "power6"
  622. select ADK_LINUX_64
  623. select ADK_TARGET_WITH_NPTL
  624. select ADK_TARGET_WITH_MMU
  625. depends on ADK_TARGET_ARCH_PPC64
  626. config ADK_TARGET_CPU_PPC64_POWER7
  627. bool "power7"
  628. select ADK_LINUX_64
  629. select ADK_TARGET_WITH_NPTL
  630. select ADK_TARGET_WITH_MMU
  631. depends on ADK_TARGET_ARCH_PPC64
  632. config ADK_TARGET_CPU_PPC64_POWER8
  633. bool "power8"
  634. select ADK_LINUX_64
  635. select ADK_TARGET_WITH_NPTL
  636. select ADK_TARGET_WITH_MMU
  637. depends on ADK_TARGET_ARCH_PPC64
  638. # s390
  639. config ADK_TARGET_CPU_S390_Z900
  640. bool "z900"
  641. select ADK_LINUX_64
  642. select ADK_TARGET_WITH_NPTL
  643. select ADK_TARGET_WITH_MMU
  644. depends on ADK_TARGET_ARCH_S390
  645. # sh
  646. config ADK_TARGET_CPU_SH_SH2
  647. bool "sh2"
  648. select ADK_TARGET_WITHOUT_MMU
  649. select ADK_TARGET_WITH_LT
  650. select ADK_TARGET_WITHOUT_CXX
  651. depends on ADK_TARGET_ARCH_SH
  652. config ADK_TARGET_CPU_SH_SH2A
  653. bool "sh2a"
  654. select ADK_TARGET_WITHOUT_MMU
  655. select ADK_TARGET_WITH_LT
  656. select ADK_TARGET_WITHOUT_CXX
  657. depends on ADK_TARGET_ARCH_SH
  658. config ADK_TARGET_CPU_SH_SH3
  659. bool "sh3"
  660. select ADK_TARGET_WITH_NPTL
  661. select ADK_TARGET_WITH_MMU
  662. depends on ADK_TARGET_ARCH_SH
  663. config ADK_TARGET_CPU_SH_SH4
  664. bool "sh4"
  665. select ADK_TARGET_WITH_NPTL
  666. select ADK_TARGET_WITH_MMU
  667. depends on ADK_TARGET_ARCH_SH
  668. config ADK_TARGET_CPU_SH_SH4A
  669. bool "sh4a"
  670. select ADK_TARGET_WITH_NPTL
  671. select ADK_TARGET_WITH_MMU
  672. depends on ADK_TARGET_ARCH_SH
  673. # sparc
  674. config ADK_TARGET_CPU_SPARC_V8
  675. bool "v8"
  676. select ADK_TARGET_WITH_NPTL
  677. select ADK_TARGET_WITH_MMU
  678. depends on ADK_TARGET_ARCH_SPARC
  679. config ADK_TARGET_CPU_SPARC_V7
  680. bool "v7"
  681. select ADK_TARGET_WITH_NPTL
  682. select ADK_TARGET_WITH_MMU
  683. depends on ADK_TARGET_ARCH_SPARC
  684. config ADK_TARGET_CPU_SPARC_LEON
  685. bool "leon"
  686. select ADK_TARGET_WITH_NPTL
  687. select ADK_TARGET_WITH_MMU
  688. depends on ADK_TARGET_ARCH_SPARC
  689. # sparc64
  690. config ADK_TARGET_CPU_SPARC64_V9
  691. bool "v9"
  692. select ADK_LINUX_64
  693. select ADK_TARGET_WITH_NPTL
  694. select ADK_TARGET_WITH_MMU
  695. depends on ADK_TARGET_ARCH_SPARC64
  696. # tile
  697. config ADK_TARGET_CPU_TILE_TILEGX
  698. bool "tilegx"
  699. select ADK_TARGET_WITH_NPTL
  700. select ADK_TARGET_WITH_MMU
  701. depends on ADK_TARGET_ARCH_TILE
  702. config ADK_TARGET_CPU_TILE_TILEPRO
  703. bool "tilepro"
  704. select ADK_TARGET_WITH_NPTL
  705. select ADK_TARGET_WITH_MMU
  706. depends on ADK_TARGET_ARCH_TILE
  707. # v850
  708. config ADK_TARGET_CPU_V850
  709. bool "v850"
  710. select ADK_TARGET_WITHOUT_MMU
  711. select ADK_TARGET_WITHOUT_THREADS
  712. select ADK_TARGET_WITHOUT_CXX
  713. depends on ADK_TARGET_ARCH_V850
  714. # x86
  715. config ADK_TARGET_CPU_X86_I486
  716. bool "i486"
  717. select ADK_TARGET_WITH_NPTL
  718. select ADK_TARGET_WITH_MMU
  719. depends on ADK_TARGET_ARCH_X86
  720. config ADK_TARGET_CPU_X86_I586
  721. bool "i586"
  722. select ADK_TARGET_WITH_NPTL
  723. select ADK_TARGET_WITH_MMU
  724. depends on ADK_TARGET_ARCH_X86
  725. config ADK_TARGET_CPU_X86_I686
  726. bool "i686"
  727. select ADK_TARGET_WITH_NPTL
  728. select ADK_TARGET_WITH_MMU
  729. depends on ADK_TARGET_ARCH_X86
  730. config ADK_TARGET_CPU_X86_GEODE
  731. bool "geode"
  732. select ADK_TARGET_WITH_NPTL
  733. select ADK_TARGET_WITH_MMU
  734. depends on ADK_TARGET_ARCH_X86
  735. config ADK_TARGET_CPU_X86_ATOM
  736. bool "atom"
  737. select ADK_TARGET_WITH_NPTL
  738. select ADK_TARGET_WITH_MMU
  739. depends on ADK_TARGET_ARCH_X86
  740. config ADK_TARGET_CPU_X86_PENTIUM_M
  741. bool "pentium-m"
  742. select ADK_TARGET_WITH_NPTL
  743. select ADK_TARGET_WITH_MMU
  744. depends on ADK_TARGET_ARCH_X86
  745. # x86_64
  746. config ADK_TARGET_CPU_X86_64
  747. bool "Generic x86_64"
  748. select ADK_LINUX_64
  749. select ADK_TARGET_WITH_NPTL
  750. select ADK_TARGET_WITH_MMU
  751. depends on ADK_TARGET_ARCH_X86_64
  752. config ADK_TARGET_CPU_X86_64_ATHLON_FX
  753. bool "Athlon 64 FX"
  754. select ADK_LINUX_64
  755. select ADK_TARGET_WITH_NPTL
  756. select ADK_TARGET_WITH_MMU
  757. select ADK_TARGET_CPU_WITH_VT
  758. select ADK_TARGET_CPU_WITH_MMX
  759. select ADK_TARGET_CPU_WITH_SSE
  760. select ADK_TARGET_CPU_WITH_SSE2
  761. select ADK_TARGET_CPU_WITH_3DNOW
  762. select ADK_TARGET_CPU_WITH_3DNOWEXT
  763. depends on ADK_TARGET_ARCH_X86_64
  764. config ADK_TARGET_CPU_X86_64_ATHLON_64
  765. bool "Athlon 64"
  766. select ADK_LINUX_64
  767. select ADK_TARGET_WITH_NPTL
  768. select ADK_TARGET_WITH_MMU
  769. select ADK_TARGET_CPU_WITH_VT
  770. select ADK_TARGET_CPU_WITH_MMX
  771. select ADK_TARGET_CPU_WITH_SSE
  772. select ADK_TARGET_CPU_WITH_SSE2
  773. select ADK_TARGET_CPU_WITH_3DNOW
  774. select ADK_TARGET_CPU_WITH_3DNOWEXT
  775. depends on ADK_TARGET_ARCH_X86_64
  776. config ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
  777. bool "Athlon 64 with SSE3"
  778. select ADK_LINUX_64
  779. select ADK_TARGET_WITH_NPTL
  780. select ADK_TARGET_WITH_MMU
  781. select ADK_TARGET_CPU_WITH_VT
  782. select ADK_TARGET_CPU_WITH_MMX
  783. select ADK_TARGET_CPU_WITH_SSE
  784. select ADK_TARGET_CPU_WITH_SSE2
  785. select ADK_TARGET_CPU_WITH_SSE3
  786. select ADK_TARGET_CPU_WITH_3DNOW
  787. select ADK_TARGET_CPU_WITH_3DNOWEXT
  788. depends on ADK_TARGET_ARCH_X86_64
  789. config ADK_TARGET_CPU_X86_64_BARCELONA
  790. bool "Barcelona"
  791. select ADK_LINUX_64
  792. select ADK_TARGET_WITH_NPTL
  793. select ADK_TARGET_WITH_MMU
  794. select ADK_TARGET_CPU_WITH_VT
  795. select ADK_TARGET_CPU_WITH_MMX
  796. select ADK_TARGET_CPU_WITH_SSE
  797. select ADK_TARGET_CPU_WITH_SSE2
  798. select ADK_TARGET_CPU_WITH_SSE3
  799. select ADK_TARGET_CPU_WITH_SSE4A
  800. select ADK_TARGET_CPU_WITH_3DNOW
  801. select ADK_TARGET_CPU_WITH_3DNOWEXT
  802. depends on ADK_TARGET_ARCH_X86_64
  803. config ADK_TARGET_CPU_X86_64_BDVER1
  804. bool "bdver1"
  805. select ADK_LINUX_64
  806. select ADK_TARGET_WITH_NPTL
  807. select ADK_TARGET_WITH_MMU
  808. select ADK_TARGET_CPU_WITH_VT
  809. select ADK_TARGET_CPU_WITH_MMX
  810. select ADK_TARGET_CPU_WITH_SSE
  811. select ADK_TARGET_CPU_WITH_SSE2
  812. select ADK_TARGET_CPU_WITH_SSE3
  813. select ADK_TARGET_CPU_WITH_SSE4A
  814. select ADK_TARGET_CPU_WITH_SSE4_1
  815. select ADK_TARGET_CPU_WITH_SSE4_2
  816. select ADK_TARGET_CPU_WITH_SSSE3
  817. depends on ADK_TARGET_ARCH_X86_64
  818. config ADK_TARGET_CPU_X86_64_BDVER2
  819. bool "bdver2"
  820. select ADK_LINUX_64
  821. select ADK_TARGET_WITH_NPTL
  822. select ADK_TARGET_WITH_MMU
  823. select ADK_TARGET_CPU_WITH_VT
  824. select ADK_TARGET_CPU_WITH_MMX
  825. select ADK_TARGET_CPU_WITH_SSE
  826. select ADK_TARGET_CPU_WITH_SSE2
  827. select ADK_TARGET_CPU_WITH_SSE3
  828. select ADK_TARGET_CPU_WITH_SSE4A
  829. select ADK_TARGET_CPU_WITH_SSE4_1
  830. select ADK_TARGET_CPU_WITH_SSE4_2
  831. select ADK_TARGET_CPU_WITH_SSSE3
  832. depends on ADK_TARGET_ARCH_X86_64
  833. config ADK_TARGET_CPU_X86_64_BDVER3
  834. bool "bdver3"
  835. select ADK_LINUX_64
  836. select ADK_TARGET_WITH_NPTL
  837. select ADK_TARGET_WITH_MMU
  838. select ADK_TARGET_CPU_WITH_VT
  839. select ADK_TARGET_CPU_WITH_MMX
  840. select ADK_TARGET_CPU_WITH_SSE
  841. select ADK_TARGET_CPU_WITH_SSE2
  842. select ADK_TARGET_CPU_WITH_SSE3
  843. select ADK_TARGET_CPU_WITH_SSE4A
  844. select ADK_TARGET_CPU_WITH_SSE4_1
  845. select ADK_TARGET_CPU_WITH_SSE4_2
  846. select ADK_TARGET_CPU_WITH_SSSE3
  847. depends on ADK_TARGET_ARCH_X86_64
  848. config ADK_TARGET_CPU_X86_64_BDVER4
  849. bool "bdver4"
  850. select ADK_LINUX_64
  851. select ADK_TARGET_WITH_NPTL
  852. select ADK_TARGET_WITH_MMU
  853. select ADK_TARGET_CPU_WITH_VT
  854. select ADK_TARGET_CPU_WITH_MMX
  855. select ADK_TARGET_CPU_WITH_SSE
  856. select ADK_TARGET_CPU_WITH_SSE2
  857. select ADK_TARGET_CPU_WITH_SSE3
  858. select ADK_TARGET_CPU_WITH_SSE4A
  859. select ADK_TARGET_CPU_WITH_SSE4_1
  860. select ADK_TARGET_CPU_WITH_SSE4_2
  861. select ADK_TARGET_CPU_WITH_SSSE3
  862. depends on ADK_TARGET_ARCH_X86_64
  863. config ADK_TARGET_CPU_X86_64_BONNELL
  864. bool "Bonnell"
  865. select ADK_LINUX_64
  866. select ADK_TARGET_WITH_NPTL
  867. select ADK_TARGET_WITH_MMU
  868. select ADK_TARGET_CPU_WITH_MMX
  869. select ADK_TARGET_CPU_WITH_SSE
  870. select ADK_TARGET_CPU_WITH_SSE2
  871. select ADK_TARGET_CPU_WITH_SSE3
  872. select ADK_TARGET_CPU_WITH_SSSE3
  873. depends on ADK_TARGET_ARCH_X86_64
  874. config ADK_TARGET_CPU_X86_64_BROADWELL
  875. bool "Broadwell"
  876. select ADK_LINUX_64
  877. select ADK_TARGET_WITH_NPTL
  878. select ADK_TARGET_WITH_MMU
  879. select ADK_TARGET_CPU_WITH_VT
  880. select ADK_TARGET_CPU_WITH_MMX
  881. select ADK_TARGET_CPU_WITH_SSE
  882. select ADK_TARGET_CPU_WITH_SSE2
  883. select ADK_TARGET_CPU_WITH_SSE3
  884. select ADK_TARGET_CPU_WITH_SSSE3
  885. depends on ADK_TARGET_ARCH_X86_64
  886. config ADK_TARGET_CPU_X86_64_BTVER1
  887. bool "btver1"
  888. select ADK_LINUX_64
  889. select ADK_TARGET_WITH_NPTL
  890. select ADK_TARGET_WITH_MMU
  891. select ADK_TARGET_CPU_WITH_VT
  892. select ADK_TARGET_CPU_WITH_MMX
  893. select ADK_TARGET_CPU_WITH_SSE
  894. select ADK_TARGET_CPU_WITH_SSE2
  895. select ADK_TARGET_CPU_WITH_SSE3
  896. select ADK_TARGET_CPU_WITH_SSE4A
  897. select ADK_TARGET_CPU_WITH_SSSE3
  898. depends on ADK_TARGET_ARCH_X86_64
  899. config ADK_TARGET_CPU_X86_64_BTVER2
  900. bool "btver2"
  901. select ADK_LINUX_64
  902. select ADK_TARGET_WITH_NPTL
  903. select ADK_TARGET_WITH_MMU
  904. select ADK_TARGET_CPU_WITH_VT
  905. select ADK_TARGET_CPU_WITH_MMX
  906. select ADK_TARGET_CPU_WITH_SSE
  907. select ADK_TARGET_CPU_WITH_SSE2
  908. select ADK_TARGET_CPU_WITH_SSE3
  909. select ADK_TARGET_CPU_WITH_SSE4A
  910. select ADK_TARGET_CPU_WITH_SSE4_1
  911. select ADK_TARGET_CPU_WITH_SSE4_2
  912. select ADK_TARGET_CPU_WITH_SSSE3
  913. depends on ADK_TARGET_ARCH_X86_64
  914. config ADK_TARGET_CPU_X86_64_CORE2
  915. bool "Core 2"
  916. select ADK_LINUX_64
  917. select ADK_TARGET_WITH_NPTL
  918. select ADK_TARGET_WITH_MMU
  919. select ADK_TARGET_CPU_WITH_VT
  920. select ADK_TARGET_CPU_WITH_MMX
  921. select ADK_TARGET_CPU_WITH_SSE
  922. select ADK_TARGET_CPU_WITH_SSE2
  923. select ADK_TARGET_CPU_WITH_SSE3
  924. select ADK_TARGET_CPU_WITH_SSSE3
  925. depends on ADK_TARGET_ARCH_X86_64
  926. config ADK_TARGET_CPU_X86_64_HASWELL
  927. bool "Haswell"
  928. select ADK_LINUX_64
  929. select ADK_TARGET_WITH_NPTL
  930. select ADK_TARGET_WITH_MMU
  931. select ADK_TARGET_CPU_WITH_VT
  932. select ADK_TARGET_CPU_WITH_MMX
  933. select ADK_TARGET_CPU_WITH_SSE
  934. select ADK_TARGET_CPU_WITH_SSE2
  935. select ADK_TARGET_CPU_WITH_SSE3
  936. select ADK_TARGET_CPU_WITH_SSE4_1
  937. select ADK_TARGET_CPU_WITH_SSE4_2
  938. select ADK_TARGET_CPU_WITH_SSSE3
  939. depends on ADK_TARGET_ARCH_X86_64
  940. config ADK_TARGET_CPU_X86_64_IVYBRIDGE
  941. bool "Ivybridge"
  942. select ADK_LINUX_64
  943. select ADK_TARGET_WITH_NPTL
  944. select ADK_TARGET_WITH_MMU
  945. select ADK_TARGET_CPU_WITH_VT
  946. select ADK_TARGET_CPU_WITH_MMX
  947. select ADK_TARGET_CPU_WITH_SSE
  948. select ADK_TARGET_CPU_WITH_SSE2
  949. select ADK_TARGET_CPU_WITH_SSE3
  950. select ADK_TARGET_CPU_WITH_SSE4_1
  951. select ADK_TARGET_CPU_WITH_SSE4_2
  952. select ADK_TARGET_CPU_WITH_SSSE3
  953. depends on ADK_TARGET_ARCH_X86_64
  954. config ADK_TARGET_CPU_X86_64_K8
  955. bool "K8"
  956. select ADK_LINUX_64
  957. select ADK_TARGET_WITH_NPTL
  958. select ADK_TARGET_WITH_MMU
  959. select ADK_TARGET_CPU_WITH_MMX
  960. select ADK_TARGET_CPU_WITH_SSE
  961. select ADK_TARGET_CPU_WITH_SSE2
  962. select ADK_TARGET_CPU_WITH_3DNOW
  963. select ADK_TARGET_CPU_WITH_3DNOWEXT
  964. depends on ADK_TARGET_ARCH_X86_64
  965. config ADK_TARGET_CPU_X86_64_K8_SSE3
  966. bool "K8 with SSE3"
  967. select ADK_LINUX_64
  968. select ADK_TARGET_WITH_NPTL
  969. select ADK_TARGET_WITH_MMU
  970. select ADK_TARGET_CPU_WITH_VT
  971. select ADK_TARGET_CPU_WITH_MMX
  972. select ADK_TARGET_CPU_WITH_SSE
  973. select ADK_TARGET_CPU_WITH_SSE2
  974. select ADK_TARGET_CPU_WITH_SSE3
  975. select ADK_TARGET_CPU_WITH_3DNOW
  976. select ADK_TARGET_CPU_WITH_3DNOWEXT
  977. depends on ADK_TARGET_ARCH_X86_64
  978. config ADK_TARGET_CPU_X86_64_KNL
  979. bool "knl"
  980. select ADK_LINUX_64
  981. select ADK_TARGET_WITH_NPTL
  982. select ADK_TARGET_WITH_MMU
  983. select ADK_TARGET_CPU_WITH_MMX
  984. select ADK_TARGET_CPU_WITH_SSE
  985. select ADK_TARGET_CPU_WITH_SSE2
  986. select ADK_TARGET_CPU_WITH_SSE3
  987. select ADK_TARGET_CPU_WITH_SSE4_1
  988. select ADK_TARGET_CPU_WITH_SSE4_2
  989. select ADK_TARGET_CPU_WITH_SSSE3
  990. depends on ADK_TARGET_ARCH_X86_64
  991. config ADK_TARGET_CPU_X86_64_NEHALEM
  992. bool "Nehalem"
  993. select ADK_LINUX_64
  994. select ADK_TARGET_WITH_NPTL
  995. select ADK_TARGET_WITH_MMU
  996. select ADK_TARGET_CPU_WITH_VT
  997. select ADK_TARGET_CPU_WITH_MMX
  998. select ADK_TARGET_CPU_WITH_SSE
  999. select ADK_TARGET_CPU_WITH_SSE2
  1000. select ADK_TARGET_CPU_WITH_SSE3
  1001. select ADK_TARGET_CPU_WITH_SSE4_1
  1002. select ADK_TARGET_CPU_WITH_SSE4_2
  1003. select ADK_TARGET_CPU_WITH_SSSE3
  1004. depends on ADK_TARGET_ARCH_X86_64
  1005. config ADK_TARGET_CPU_X86_64_NOCONA
  1006. bool "Nocona"
  1007. select ADK_LINUX_64
  1008. select ADK_TARGET_WITH_NPTL
  1009. select ADK_TARGET_WITH_MMU
  1010. select ADK_TARGET_CPU_WITH_MMX
  1011. select ADK_TARGET_CPU_WITH_SSE
  1012. select ADK_TARGET_CPU_WITH_SSE2
  1013. select ADK_TARGET_CPU_WITH_SSE3
  1014. depends on ADK_TARGET_ARCH_X86_64
  1015. config ADK_TARGET_CPU_X86_64_OPTERON
  1016. bool "Opteron"
  1017. select ADK_LINUX_64
  1018. select ADK_TARGET_WITH_NPTL
  1019. select ADK_TARGET_WITH_MMU
  1020. select ADK_TARGET_CPU_WITH_MMX
  1021. select ADK_TARGET_CPU_WITH_SSE
  1022. select ADK_TARGET_CPU_WITH_SSE2
  1023. select ADK_TARGET_CPU_WITH_3DNOW
  1024. select ADK_TARGET_CPU_WITH_3DNOWEXT
  1025. depends on ADK_TARGET_ARCH_X86_64
  1026. config ADK_TARGET_CPU_X86_64_OPTERON_SSE3
  1027. bool "Opteron with SSE3"
  1028. select ADK_LINUX_64
  1029. select ADK_TARGET_WITH_NPTL
  1030. select ADK_TARGET_WITH_MMU
  1031. select ADK_TARGET_CPU_WITH_VT
  1032. select ADK_TARGET_CPU_WITH_MMX
  1033. select ADK_TARGET_CPU_WITH_SSE
  1034. select ADK_TARGET_CPU_WITH_SSE2
  1035. select ADK_TARGET_CPU_WITH_SSE3
  1036. select ADK_TARGET_CPU_WITH_3DNOW
  1037. select ADK_TARGET_CPU_WITH_3DNOWEXT
  1038. depends on ADK_TARGET_ARCH_X86_64
  1039. config ADK_TARGET_CPU_X86_64_SANDYBRIDGE
  1040. bool "Sandybridge"
  1041. select ADK_LINUX_64
  1042. select ADK_TARGET_WITH_NPTL
  1043. select ADK_TARGET_WITH_MMU
  1044. select ADK_TARGET_CPU_WITH_VT
  1045. select ADK_TARGET_CPU_WITH_MMX
  1046. select ADK_TARGET_CPU_WITH_SSE
  1047. select ADK_TARGET_CPU_WITH_SSE2
  1048. select ADK_TARGET_CPU_WITH_SSE3
  1049. select ADK_TARGET_CPU_WITH_SSE4_1
  1050. select ADK_TARGET_CPU_WITH_SSE4_2
  1051. select ADK_TARGET_CPU_WITH_SSSE3
  1052. depends on ADK_TARGET_ARCH_X86_64
  1053. config ADK_TARGET_CPU_X86_64_SILVERMONT
  1054. bool "Silvermont"
  1055. select ADK_LINUX_64
  1056. select ADK_TARGET_WITH_NPTL
  1057. select ADK_TARGET_WITH_MMU
  1058. select ADK_TARGET_CPU_WITH_VT
  1059. select ADK_TARGET_CPU_WITH_MMX
  1060. select ADK_TARGET_CPU_WITH_SSE
  1061. select ADK_TARGET_CPU_WITH_SSE2
  1062. select ADK_TARGET_CPU_WITH_SSE3
  1063. select ADK_TARGET_CPU_WITH_SSE4_1
  1064. select ADK_TARGET_CPU_WITH_SSE4_2
  1065. select ADK_TARGET_CPU_WITH_SSSE3
  1066. depends on ADK_TARGET_ARCH_X86_64
  1067. config ADK_TARGET_CPU_X86_64_WESTMERE
  1068. bool "Westmere"
  1069. select ADK_LINUX_64
  1070. select ADK_TARGET_WITH_NPTL
  1071. select ADK_TARGET_WITH_MMU
  1072. select ADK_TARGET_CPU_WITH_VT
  1073. select ADK_TARGET_CPU_WITH_MMX
  1074. select ADK_TARGET_CPU_WITH_SSE
  1075. select ADK_TARGET_CPU_WITH_SSE2
  1076. select ADK_TARGET_CPU_WITH_SSE3
  1077. select ADK_TARGET_CPU_WITH_SSE4_1
  1078. select ADK_TARGET_CPU_WITH_SSE4_2
  1079. select ADK_TARGET_CPU_WITH_SSSE3
  1080. depends on ADK_TARGET_ARCH_X86_64
  1081. # xtensa
  1082. config ADK_TARGET_CPU_XTENSA_DC233C
  1083. bool "dc233c"
  1084. depends on ADK_TARGET_LITTLE_ENDIAN
  1085. select ADK_TARGET_WITH_NPTL
  1086. select ADK_TARGET_WITH_MMU
  1087. select ADK_KERNEL_XTENSA_VARIANT_DC233C
  1088. select ADK_TARGET_KERNEL_ZIMAGE
  1089. select ADK_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
  1090. depends on ADK_TARGET_ARCH_XTENSA
  1091. config ADK_TARGET_CPU_XTENSA_DC232B
  1092. bool "dc232b"
  1093. depends on ADK_TARGET_LITTLE_ENDIAN
  1094. select ADK_TARGET_WITH_NPTL
  1095. select ADK_TARGET_WITH_MMU
  1096. select ADK_KERNEL_XTENSA_VARIANT_DC232B
  1097. select ADK_TARGET_KERNEL_ZIMAGE
  1098. depends on ADK_TARGET_ARCH_XTENSA
  1099. config ADK_TARGET_CPU_XTENSA_DE212
  1100. bool "de212"
  1101. depends on ADK_TARGET_LITTLE_ENDIAN
  1102. select ADK_TARGET_WITH_LT
  1103. select ADK_TARGET_WITHOUT_MMU
  1104. select ADK_TARGET_UCLINUX
  1105. select ADK_KERNEL_XTENSA_VARIANT_CUSTOM
  1106. select ADK_TARGET_KERNEL_ZIMAGE
  1107. depends on ADK_TARGET_ARCH_XTENSA
  1108. config ADK_TARGET_CPU_XTENSA_FSF
  1109. bool "fsf"
  1110. depends on ADK_TARGET_BIG_ENDIAN
  1111. select ADK_TARGET_WITH_NPTL
  1112. select ADK_TARGET_WITH_MMU
  1113. select ADK_KERNEL_XTENSA_VARIANT_FSF
  1114. select ADK_TARGET_KERNEL_ZIMAGE
  1115. depends on ADK_TARGET_ARCH_XTENSA
  1116. endchoice
  1117. # coldfire helper variable for gcc
  1118. config ADK_TARGET_CPU_CF
  1119. bool
  1120. # CPU features
  1121. config ADK_TARGET_CPU_WITH_FPU
  1122. bool
  1123. config ADK_TARGET_CPU_WITH_FPU_VFP
  1124. bool
  1125. select ADK_TARGET_CPU_WITH_FPU
  1126. config ADK_TARGET_CPU_WITH_FPU_VFPV3
  1127. bool
  1128. select ADK_TARGET_CPU_WITH_FPU
  1129. config ADK_TARGET_CPU_WITH_FPU_VFPV4
  1130. bool
  1131. select ADK_TARGET_CPU_WITH_FPU
  1132. config ADK_TARGET_CPU_WITH_VT
  1133. bool
  1134. config ADK_TARGET_CPU_WITH_MTRR
  1135. bool
  1136. config ADK_TARGET_CPU_WITH_MMX
  1137. bool
  1138. config ADK_TARGET_CPU_WITH_MMXEXT
  1139. bool
  1140. config ADK_TARGET_CPU_WITH_SSE
  1141. bool
  1142. config ADK_TARGET_CPU_WITH_SSE2
  1143. bool
  1144. config ADK_TARGET_CPU_WITH_SSE3
  1145. bool
  1146. config ADK_TARGET_CPU_WITH_SSE4A
  1147. bool
  1148. config ADK_TARGET_CPU_WITH_SSE4_1
  1149. bool
  1150. config ADK_TARGET_CPU_WITH_SSE4_2
  1151. bool
  1152. config ADK_TARGET_CPU_WITH_SSSE3
  1153. bool
  1154. config ADK_TARGET_CPU_WITH_IWMMXT
  1155. bool
  1156. config ADK_TARGET_CPU_WITH_NEON
  1157. bool
  1158. config ADK_TARGET_CPU_WITH_HT
  1159. bool
  1160. config ADK_TARGET_CPU_WITH_3DNOW
  1161. bool
  1162. config ADK_TARGET_CPU_WITH_3DNOWEXT
  1163. bool
  1164. # for gcc --with-cpu
  1165. config ADK_TARGET_GCC_CPU
  1166. string
  1167. default "440" if ADK_TARGET_CPU_PPC_440
  1168. default "51" if ADK_TARGET_CPU_CF_51
  1169. default "5206" if ADK_TARGET_CPU_CF_5206
  1170. default "5206e" if ADK_TARGET_CPU_CF_5206E
  1171. default "5208" if ADK_TARGET_CPU_CF_5208
  1172. default "5211a" if ADK_TARGET_CPU_CF_5211A
  1173. default "5213" if ADK_TARGET_CPU_CF_5213
  1174. default "5216" if ADK_TARGET_CPU_CF_5216
  1175. default "52235" if ADK_TARGET_CPU_CF_52235
  1176. default "5225" if ADK_TARGET_CPU_CF_5225
  1177. default "52259" if ADK_TARGET_CPU_CF_52259
  1178. default "5235" if ADK_TARGET_CPU_CF_5235
  1179. default "5249" if ADK_TARGET_CPU_CF_5249
  1180. default "5250" if ADK_TARGET_CPU_CF_5250
  1181. default "5271" if ADK_TARGET_CPU_CF_5271
  1182. default "5272" if ADK_TARGET_CPU_CF_5272
  1183. default "5275" if ADK_TARGET_CPU_CF_5275
  1184. default "5282" if ADK_TARGET_CPU_CF_5282
  1185. default "53017" if ADK_TARGET_CPU_CF_53017
  1186. default "5307" if ADK_TARGET_CPU_CF_5307
  1187. default "5328" if ADK_TARGET_CPU_CF_5328
  1188. default "5329" if ADK_TARGET_CPU_CF_5329
  1189. default "5373" if ADK_TARGET_CPU_CF_5373
  1190. default "5407" if ADK_TARGET_CPU_CF_5407
  1191. default "5475" if ADK_TARGET_CPU_CF_5475
  1192. default "68020" if ADK_TARGET_CPU_M68K_68020
  1193. default "68030" if ADK_TARGET_CPU_M68K_68030
  1194. default "68040" if ADK_TARGET_CPU_M68K_68040
  1195. default "68060" if ADK_TARGET_CPU_M68K_68060
  1196. default "arc700" if ADK_TARGET_CPU_ARC_ARC700
  1197. default "archs" if ADK_TARGET_CPU_ARC_ARC_HS
  1198. default "arm1176jzf-s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
  1199. default "arm926ej-s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
  1200. default "cortex-a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
  1201. default "cortex-a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
  1202. default "cortex-a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
  1203. default "cortex-a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
  1204. default "cortex-a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
  1205. default "cortex-a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
  1206. default "cortex-a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
  1207. default "cortex-a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
  1208. default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
  1209. default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
  1210. default "leon" if ADK_TARGET_CPU_SPARC_LEON
  1211. default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
  1212. default "powerpc" if ADK_TARGET_CPU_PPC
  1213. default "power6" if ADK_TARGET_CPU_PPC64_POWER6
  1214. default "power7" if ADK_TARGET_CPU_PPC64_POWER7
  1215. default "power8" if ADK_TARGET_CPU_PPC64_POWER8
  1216. default "ultrasparc" if ADK_TARGET_CPU_SPARC64_V9
  1217. default "v8" if ADK_TARGET_CPU_SPARC_V8
  1218. default "xscale" if ADK_TARGET_CPU_ARM_XSCALE
  1219. # for gcc --with-arch
  1220. config ADK_TARGET_GCC_ARCH
  1221. string
  1222. default "athlon" if ADK_TARGET_CPU_X86_64_ATHLON
  1223. default "athlon-fx" if ADK_TARGET_CPU_X86_64_ATHLON_FX
  1224. default "athlon64" if ADK_TARGET_CPU_X86_64_ATHLON_64
  1225. default "athlon64-sse3" if ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
  1226. default "atom" if ADK_TARGET_CPU_X86_ATOM
  1227. default "barcelona" if ADK_TARGET_CPU_X86_64_BARCELONA
  1228. default "bdver1" if ADK_TARGET_CPU_X86_64_BDVER1
  1229. default "bdver2" if ADK_TARGET_CPU_X86_64_BDVER2
  1230. default "bdver3" if ADK_TARGET_CPU_X86_64_BDVER3
  1231. default "bdver4" if ADK_TARGET_CPU_X86_64_BDVER4
  1232. default "bonnell" if ADK_TARGET_CPU_X86_64_BONNEL
  1233. default "broadwell" if ADK_TARGET_CPU_X86_64_BROADWELL
  1234. default "btver1" if ADK_TARGET_CPU_X86_64_BTVER1
  1235. default "btver2" if ADK_TARGET_CPU_X86_64_BTVER2
  1236. default "core2" if ADK_TARGET_CPU_X86_64_CORE2
  1237. default "geode" if ADK_TARGET_CPU_X86_GEODE
  1238. default "haswell" if ADK_TARGET_CPU_X86_64_HASWELL
  1239. default "i486" if ADK_TARGET_CPU_X86_I486
  1240. default "i586" if ADK_TARGET_CPU_X86_I586
  1241. default "i686" if ADK_TARGET_CPU_X86_I686
  1242. default "ivybridge" if ADK_TARGET_CPU_X86_64_IVYBRIDGE
  1243. default "k8" if ADK_TARGET_CPU_X86_64_K8
  1244. default "k8-sse3" if ADK_TARGET_CPU_X86_64_K8_SSE3
  1245. default "knl" if ADK_TARGET_CPU_X86_64_KNL
  1246. default "loongson2f" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
  1247. default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
  1248. default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
  1249. default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
  1250. default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
  1251. default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
  1252. default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
  1253. default "nehalem" if ADK_TARGET_CPU_X86_64_NEHALEM
  1254. default "nocona" if ADK_TARGET_CPU_X86_64_NOCONA
  1255. default "opteron" if ADK_TARGET_CPU_X86_64_OPTERON
  1256. default "opteron-sse3" if ADK_TARGET_CPU_X86_64_OPTERON_SSE3
  1257. default "pentium-m" if ADK_TARGET_CPU_X86_PENTIUM_M
  1258. default "sandybridge" if ADK_TARGET_CPU_X86_64_SANDYBRIDGE
  1259. default "silvermont" if ADK_TARGET_CPU_X86_64_SILVERMONT
  1260. default "westmere" if ADK_TARGET_CPU_X86_64_WESTMERE
  1261. default "x86-64" if ADK_TARGET_CPU_X86_64
  1262. default "z900" if ADK_TARGET_CPU_S390_Z900
  1263. # for CFLAGS/CXXFLAGS if gcc does not support --with-cpu
  1264. config ADK_TARGET_CPU_FLAGS
  1265. string
  1266. default "-mcpu=bf512" if ADK_TARGET_CPU_BFIN_BF512
  1267. default "-mcpu=bf514" if ADK_TARGET_CPU_BFIN_BF514
  1268. default "-mcpu=bf516" if ADK_TARGET_CPU_BFIN_BF516
  1269. default "-mcpu=bf518" if ADK_TARGET_CPU_BFIN_BF518
  1270. default "-mcpu=bf522" if ADK_TARGET_CPU_BFIN_BF522
  1271. default "-mcpu=bf523" if ADK_TARGET_CPU_BFIN_BF523
  1272. default "-mcpu=bf524" if ADK_TARGET_CPU_BFIN_BF524
  1273. default "-mcpu=bf525" if ADK_TARGET_CPU_BFIN_BF525
  1274. default "-mcpu=bf526" if ADK_TARGET_CPU_BFIN_BF526
  1275. default "-mcpu=bf527" if ADK_TARGET_CPU_BFIN_BF527
  1276. default "-mcpu=bf531" if ADK_TARGET_CPU_BFIN_BF531
  1277. default "-mcpu=bf532" if ADK_TARGET_CPU_BFIN_BF532
  1278. default "-mcpu=bf533" if ADK_TARGET_CPU_BFIN_BF533
  1279. default "-mcpu=bf534" if ADK_TARGET_CPU_BFIN_BF534
  1280. default "-mcpu=bf536" if ADK_TARGET_CPU_BFIN_BF536
  1281. default "-mcpu=bf537" if ADK_TARGET_CPU_BFIN_BF537
  1282. default "-mcpu=bf538" if ADK_TARGET_CPU_BFIN_BF538
  1283. default "-mcpu=bf539" if ADK_TARGET_CPU_BFIN_BF539
  1284. default "-mcpu=bf542" if ADK_TARGET_CPU_BFIN_BF542
  1285. default "-mcpu=bf544" if ADK_TARGET_CPU_BFIN_BF544
  1286. default "-mcpu=bf547" if ADK_TARGET_CPU_BFIN_BF547
  1287. default "-mcpu=bf548" if ADK_TARGET_CPU_BFIN_BF548
  1288. default "-mcpu=bf549" if ADK_TARGET_CPU_BFIN_BF549
  1289. default "-mcpu=bf542m" if ADK_TARGET_CPU_BFIN_BF542M
  1290. default "-mcpu=bf544m" if ADK_TARGET_CPU_BFIN_BF544M
  1291. default "-mcpu=bf547m" if ADK_TARGET_CPU_BFIN_BF547M
  1292. default "-mcpu=bf548m" if ADK_TARGET_CPU_BFIN_BF548M
  1293. default "-mcpu=bf549m" if ADK_TARGET_CPU_BFIN_BF549M
  1294. default "-mcpu=bf561" if ADK_TARGET_CPU_BFIN_BF561
  1295. default "-mcpu=bf592" if ADK_TARGET_CPU_BFIN_BF592
  1296. default "-mcpu=v10" if ADK_TARGET_CPU_CRIS_CRISV10
  1297. default "-mcpu=v32" if ADK_TARGET_CPU_CRIS_CRISV32
  1298. default "-mmetac=2.1" if ADK_TARGET_CPU_METAG
  1299. default "-mcpu=v7.10.d" if ADK_TARGET_CPU_MICROBLAZE
  1300. default "-m2" if ADK_TARGET_CPU_SH_SH2
  1301. default "-m2a" if ADK_TARGET_CPU_SH_SH2A
  1302. default "-m3" if ADK_TARGET_CPU_SH_SH3
  1303. default "-m4" if ADK_TARGET_CPU_SH_SH4
  1304. default "-m4a" if ADK_TARGET_CPU_SH_SH4A
  1305. default "-mcpu=powerpc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
  1306. default "-mcpu=powerpc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
  1307. default "-mcpu=tilegx" if ADK_TARGET_CPU_TILE_TILEGX
  1308. default "-mcpu=tilepro" if ADK_TARGET_CPU_TILE_TILEPRO
  1309. # ADK suffix
  1310. config ADK_TARGET_CPU_TYPE
  1311. string
  1312. default "arc700" if ADK_TARGET_CPU_ARC_ARC700
  1313. default "archs" if ADK_TARGET_CPU_ARC_ARC_HS
  1314. default "bf512" if ADK_TARGET_CPU_BFIN_BF512
  1315. default "bf514" if ADK_TARGET_CPU_BFIN_BF514
  1316. default "bf516" if ADK_TARGET_CPU_BFIN_BF516
  1317. default "bf518" if ADK_TARGET_CPU_BFIN_BF518
  1318. default "bf522" if ADK_TARGET_CPU_BFIN_BF522
  1319. default "bf523" if ADK_TARGET_CPU_BFIN_BF523
  1320. default "bf524" if ADK_TARGET_CPU_BFIN_BF524
  1321. default "bf525" if ADK_TARGET_CPU_BFIN_BF525
  1322. default "bf526" if ADK_TARGET_CPU_BFIN_BF526
  1323. default "bf527" if ADK_TARGET_CPU_BFIN_BF527
  1324. default "bf531" if ADK_TARGET_CPU_BFIN_BF531
  1325. default "bf532" if ADK_TARGET_CPU_BFIN_BF532
  1326. default "bf533" if ADK_TARGET_CPU_BFIN_BF533
  1327. default "bf534" if ADK_TARGET_CPU_BFIN_BF534
  1328. default "bf536" if ADK_TARGET_CPU_BFIN_BF536
  1329. default "bf537" if ADK_TARGET_CPU_BFIN_BF537
  1330. default "bf538" if ADK_TARGET_CPU_BFIN_BF538
  1331. default "bf539" if ADK_TARGET_CPU_BFIN_BF539
  1332. default "bf542" if ADK_TARGET_CPU_BFIN_BF542
  1333. default "bf544" if ADK_TARGET_CPU_BFIN_BF544
  1334. default "bf547" if ADK_TARGET_CPU_BFIN_BF547
  1335. default "bf548" if ADK_TARGET_CPU_BFIN_BF548
  1336. default "bf549" if ADK_TARGET_CPU_BFIN_BF549
  1337. default "bf542m" if ADK_TARGET_CPU_BFIN_BF542M
  1338. default "bf544m" if ADK_TARGET_CPU_BFIN_BF544M
  1339. default "bf547m" if ADK_TARGET_CPU_BFIN_BF547M
  1340. default "bf548m" if ADK_TARGET_CPU_BFIN_BF548M
  1341. default "bf549m" if ADK_TARGET_CPU_BFIN_BF549M
  1342. default "bf561" if ADK_TARGET_CPU_BFIN_BF561
  1343. default "bf592" if ADK_TARGET_CPU_BFIN_BF592
  1344. default "cf51" if ADK_TARGET_CPU_CF_51
  1345. default "cf5206" if ADK_TARGET_CPU_CF_5206
  1346. default "cf5206e" if ADK_TARGET_CPU_CF_5206E
  1347. default "cf5208" if ADK_TARGET_CPU_CF_5208
  1348. default "cf5211a" if ADK_TARGET_CPU_CF_5211A
  1349. default "cf5213" if ADK_TARGET_CPU_CF_5213
  1350. default "cf5216" if ADK_TARGET_CPU_CF_5216
  1351. default "cf52235" if ADK_TARGET_CPU_CF_52235
  1352. default "cf5225" if ADK_TARGET_CPU_CF_5225
  1353. default "cf52259" if ADK_TARGET_CPU_CF_52259
  1354. default "cf5235" if ADK_TARGET_CPU_CF_5235
  1355. default "cf5249" if ADK_TARGET_CPU_CF_5249
  1356. default "cf5250" if ADK_TARGET_CPU_CF_5250
  1357. default "cf5271" if ADK_TARGET_CPU_CF_5271
  1358. default "cf5272" if ADK_TARGET_CPU_CF_5272
  1359. default "cf5275" if ADK_TARGET_CPU_CF_5275
  1360. default "cf5282" if ADK_TARGET_CPU_CF_5282
  1361. default "cf53017" if ADK_TARGET_CPU_CF_53017
  1362. default "cf5307" if ADK_TARGET_CPU_CF_5307
  1363. default "cf5328" if ADK_TARGET_CPU_CF_5328
  1364. default "cf5329" if ADK_TARGET_CPU_CF_5329
  1365. default "cf5373" if ADK_TARGET_CPU_CF_5373
  1366. default "cf5407" if ADK_TARGET_CPU_CF_5407
  1367. default "cf5475" if ADK_TARGET_CPU_CF_5475
  1368. default "68020" if ADK_TARGET_CPU_M68K_68020
  1369. default "68030" if ADK_TARGET_CPU_M68K_68030
  1370. default "68040" if ADK_TARGET_CPU_M68K_68040
  1371. default "68060" if ADK_TARGET_CPU_M68K_68060
  1372. default "cortex_a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
  1373. default "cortex_a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
  1374. default "cortex_a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
  1375. default "cortex_a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
  1376. default "cortex_a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
  1377. default "cortex_a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
  1378. default "cortex_m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
  1379. default "cortex_m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
  1380. default "arm1176jzf_s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
  1381. default "arm926ej_s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
  1382. default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
  1383. default "cortex_a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
  1384. default "cortex_a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
  1385. default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
  1386. default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
  1387. default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
  1388. default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
  1389. default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
  1390. default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
  1391. default "v8" if ADK_TARGET_CPU_SPARC_V8
  1392. default "v9" if ADK_TARGET_CPU_SPARC64_V9
  1393. default "leon" if ADK_TARGET_CPU_SPARC_LEON
  1394. default "dc233c" if ADK_TARGET_CPU_XTENSA_DC233C
  1395. default "dc232b" if ADK_TARGET_CPU_XTENSA_DC232B
  1396. default "de212" if ADK_TARGET_CPU_XTENSA_DE212
  1397. default "fsf" if ADK_TARGET_CPU_XTENSA_FSF
  1398. default "crisv10" if ADK_TARGET_CPU_CRIS_CRISV10
  1399. default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
  1400. default "sh2" if ADK_TARGET_CPU_SH_SH2
  1401. default "sh2a" if ADK_TARGET_CPU_SH_SH2A
  1402. default "sh3" if ADK_TARGET_CPU_SH_SH3
  1403. default "sh4" if ADK_TARGET_CPU_SH_SH4
  1404. default "sh4a" if ADK_TARGET_CPU_SH_SH4A
  1405. # required for the correct toolchain triple
  1406. config ADK_TARGET_CPU_ARCH
  1407. string
  1408. default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
  1409. default "aarch64_be" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_BIG_ENDIAN
  1410. default "alpha" if ADK_TARGET_ARCH_ALPHA
  1411. default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
  1412. default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
  1413. default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
  1414. default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
  1415. default "avr32" if ADK_TARGET_ARCH_AVR32
  1416. default "bfin" if ADK_TARGET_ARCH_BFIN
  1417. default "c6x" if ADK_TARGET_ARCH_C6X
  1418. default "cris" if ADK_TARGET_CPU_CRIS_CRISV10
  1419. default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
  1420. default "frv" if ADK_TARGET_ARCH_FRV
  1421. default "i486" if ADK_TARGET_CPU_X86_I486
  1422. default "i586" if ADK_TARGET_CPU_X86_I586
  1423. default "i686" if ADK_TARGET_CPU_X86_I686
  1424. default "i586" if ADK_TARGET_CPU_X86_GEODE
  1425. default "i686" if ADK_TARGET_CPU_X86_PENTIUM_M
  1426. default "i686" if ADK_TARGET_CPU_X86_ATOM
  1427. default "h8300" if ADK_TARGET_ARCH_H8300
  1428. default "hppa" if ADK_TARGET_ARCH_HPPA
  1429. default "ia64" if ADK_TARGET_ARCH_IA64
  1430. default "lm32" if ADK_TARGET_ARCH_LM32
  1431. default "m68k" if ADK_TARGET_ARCH_M68K
  1432. default "metag" if ADK_TARGET_ARCH_METAG
  1433. default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
  1434. default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
  1435. default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
  1436. default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
  1437. default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
  1438. default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
  1439. default "moxie" if ADK_TARGET_ARCH_MOXIE
  1440. default "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN
  1441. default "nds32be" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_BIG_ENDIAN
  1442. default "nios2" if ADK_TARGET_ARCH_NIOS2
  1443. default "or1k" if ADK_TARGET_ARCH_OR1K
  1444. default "ppc" if ADK_TARGET_ARCH_PPC
  1445. default "ppc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
  1446. default "ppc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
  1447. default "s390x" if ADK_TARGET_ARCH_S390
  1448. default "sh2" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_LITTLE_ENDIAN
  1449. default "sh2eb" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_BIG_ENDIAN
  1450. default "sh2a" if ADK_TARGET_CPU_SH_SH2A
  1451. default "sh3" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_LITTLE_ENDIAN
  1452. default "sh3eb" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_BIG_ENDIAN
  1453. default "sh4" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_LITTLE_ENDIAN
  1454. default "sh4eb" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_BIG_ENDIAN
  1455. default "sh4a" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_LITTLE_ENDIAN
  1456. default "sh4aeb" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_BIG_ENDIAN
  1457. default "sparc" if ADK_TARGET_ARCH_SPARC
  1458. default "sparc64" if ADK_TARGET_ARCH_SPARC64
  1459. default "tilegx" if ADK_TARGET_CPU_TILE_TILEGX
  1460. default "tilepro" if ADK_TARGET_CPU_TILE_TILEPRO
  1461. default "v850" if ADK_TARGET_ARCH_V850
  1462. default "x86_64" if ADK_TARGET_ARCH_X86_64
  1463. default "xtensa" if ADK_TARGET_ARCH_XTENSA