Config.in.cpu 47 KB

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