Config.in.cpu 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. # CPU
  4. config ADK_CPU_ALPHA
  5. bool
  6. select ADK_LINUX_64
  7. select ADK_TARGET_WITH_NPTL
  8. select ADK_TARGET_WITH_MMU
  9. config ADK_CPU_AMD_BOBCAT
  10. bool
  11. select ADK_LINUX_64
  12. select ADK_TARGET_WITH_NPTL
  13. select ADK_TARGET_WITH_MMU
  14. config ADK_CPU_AMDFAM10
  15. bool
  16. select ADK_LINUX_64
  17. select ADK_TARGET_CPU_WITH_VT
  18. select ADK_TARGET_WITH_NPTL
  19. select ADK_TARGET_WITH_MMU
  20. config ADK_CPU_NOCONA
  21. bool
  22. select ADK_LINUX_64
  23. select ADK_TARGET_CPU_WITH_VT
  24. select ADK_TARGET_WITH_NPTL
  25. select ADK_TARGET_WITH_MMU
  26. config ADK_CPU_ARC700
  27. bool
  28. select ADK_TARGET_WITH_NPTL
  29. select ADK_TARGET_WITH_MMU
  30. config ADK_CPU_ARC_HS
  31. bool
  32. select ADK_TARGET_WITH_NPTL
  33. select ADK_TARGET_WITH_MMU
  34. config ADK_CPU_ARM1176JZF_S
  35. bool
  36. select ADK_TARGET_WITH_NPTL
  37. select ADK_TARGET_WITH_MMU
  38. select ADK_TARGET_CPU_WITH_FPU_VFP
  39. config ADK_CPU_ARM926EJ_S
  40. bool
  41. select ADK_TARGET_WITH_NPTL
  42. select ADK_TARGET_WITH_MMU
  43. config ADK_CPU_ARMV8
  44. bool
  45. select ADK_LINUX_64
  46. select ADK_TARGET_WITH_NPTL
  47. select ADK_TARGET_WITH_MMU
  48. config ADK_CPU_ATHLON
  49. bool
  50. select ADK_LINUX_64
  51. select ADK_TARGET_WITH_NPTL
  52. select ADK_TARGET_WITH_MMU
  53. config ADK_CPU_ATOM
  54. bool
  55. select ADK_TARGET_WITH_NPTL
  56. select ADK_TARGET_WITH_MMU
  57. config ADK_CPU_AVR32
  58. bool
  59. select ADK_TARGET_WITH_LT
  60. select ADK_TARGET_WITH_MMU
  61. config ADK_CPU_BFIN
  62. bool
  63. select ADK_TARGET_WITH_LT
  64. select ADK_TARGET_WITHOUT_MMU
  65. config ADK_CPU_BF512
  66. bool
  67. select ADK_TARGET_WITH_LT
  68. select ADK_TARGET_WITHOUT_MMU
  69. config ADK_CPU_BF514
  70. bool
  71. select ADK_TARGET_WITH_LT
  72. select ADK_TARGET_WITHOUT_MMU
  73. config ADK_CPU_BF516
  74. bool
  75. select ADK_TARGET_WITH_LT
  76. select ADK_TARGET_WITHOUT_MMU
  77. config ADK_CPU_BF518
  78. bool
  79. select ADK_TARGET_WITH_LT
  80. select ADK_TARGET_WITHOUT_MMU
  81. config ADK_CPU_BF522
  82. bool
  83. select ADK_TARGET_WITH_LT
  84. select ADK_TARGET_WITHOUT_MMU
  85. config ADK_CPU_BF523
  86. bool
  87. select ADK_TARGET_WITH_LT
  88. select ADK_TARGET_WITHOUT_MMU
  89. config ADK_CPU_BF524
  90. bool
  91. select ADK_TARGET_WITH_LT
  92. select ADK_TARGET_WITHOUT_MMU
  93. config ADK_CPU_BF525
  94. bool
  95. select ADK_TARGET_WITH_LT
  96. select ADK_TARGET_WITHOUT_MMU
  97. config ADK_CPU_BF526
  98. bool
  99. select ADK_TARGET_WITH_LT
  100. select ADK_TARGET_WITHOUT_MMU
  101. config ADK_CPU_BF527
  102. bool
  103. select ADK_TARGET_WITH_LT
  104. select ADK_TARGET_WITHOUT_MMU
  105. config ADK_CPU_BF531
  106. bool
  107. select ADK_TARGET_WITH_LT
  108. select ADK_TARGET_WITHOUT_MMU
  109. config ADK_CPU_BF532
  110. bool
  111. select ADK_TARGET_WITH_LT
  112. select ADK_TARGET_WITHOUT_MMU
  113. config ADK_CPU_BF533
  114. bool
  115. select ADK_TARGET_WITH_LT
  116. select ADK_TARGET_WITHOUT_MMU
  117. config ADK_CPU_BF534
  118. bool
  119. select ADK_TARGET_WITH_LT
  120. select ADK_TARGET_WITHOUT_MMU
  121. config ADK_CPU_BF536
  122. bool
  123. select ADK_TARGET_WITH_LT
  124. select ADK_TARGET_WITHOUT_MMU
  125. config ADK_CPU_BF537
  126. bool
  127. select ADK_TARGET_WITH_LT
  128. select ADK_TARGET_WITHOUT_MMU
  129. config ADK_CPU_BF538
  130. bool
  131. select ADK_TARGET_WITH_LT
  132. select ADK_TARGET_WITHOUT_MMU
  133. config ADK_CPU_BF539
  134. bool
  135. select ADK_TARGET_WITH_LT
  136. select ADK_TARGET_WITHOUT_MMU
  137. config ADK_CPU_BF542
  138. bool
  139. select ADK_TARGET_WITH_LT
  140. select ADK_TARGET_WITHOUT_MMU
  141. config ADK_CPU_BF544
  142. bool
  143. select ADK_TARGET_WITH_LT
  144. select ADK_TARGET_WITHOUT_MMU
  145. config ADK_CPU_BF547
  146. bool
  147. select ADK_TARGET_WITH_LT
  148. select ADK_TARGET_WITHOUT_MMU
  149. config ADK_CPU_BF548
  150. bool
  151. select ADK_TARGET_WITH_LT
  152. select ADK_TARGET_WITHOUT_MMU
  153. config ADK_CPU_BF549
  154. bool
  155. select ADK_TARGET_WITH_LT
  156. select ADK_TARGET_WITHOUT_MMU
  157. config ADK_CPU_BF542M
  158. bool
  159. select ADK_TARGET_WITH_LT
  160. select ADK_TARGET_WITHOUT_MMU
  161. config ADK_CPU_BF544M
  162. bool
  163. select ADK_TARGET_WITH_LT
  164. select ADK_TARGET_WITHOUT_MMU
  165. config ADK_CPU_BF547M
  166. bool
  167. select ADK_TARGET_WITH_LT
  168. select ADK_TARGET_WITHOUT_MMU
  169. config ADK_CPU_BF548M
  170. bool
  171. select ADK_TARGET_WITH_LT
  172. select ADK_TARGET_WITHOUT_MMU
  173. config ADK_CPU_BF549M
  174. bool
  175. select ADK_TARGET_WITH_LT
  176. select ADK_TARGET_WITHOUT_MMU
  177. config ADK_CPU_BF561
  178. bool
  179. select ADK_TARGET_WITH_LT
  180. select ADK_TARGET_WITHOUT_MMU
  181. config ADK_CPU_BF592
  182. bool
  183. select ADK_TARGET_WITH_LT
  184. select ADK_TARGET_WITHOUT_MMU
  185. config ADK_CPU_C6X
  186. bool
  187. select ADK_TARGET_WITH_LT
  188. select ADK_TARGET_WITHOUT_MMU
  189. config ADK_CPU_CF
  190. bool
  191. config ADK_CPU_CF_51
  192. bool
  193. select ADK_CPU_CF
  194. select ADK_TARGET_WITH_LT
  195. select ADK_TARGET_WITHOUT_MMU
  196. config ADK_CPU_CF_5206
  197. bool
  198. select ADK_CPU_CF
  199. select ADK_TARGET_WITH_LT
  200. select ADK_TARGET_WITHOUT_MMU
  201. config ADK_CPU_CF_5206E
  202. bool
  203. select ADK_CPU_CF
  204. select ADK_TARGET_WITH_LT
  205. select ADK_TARGET_WITHOUT_MMU
  206. config ADK_CPU_CF_5208
  207. bool
  208. select ADK_CPU_CF
  209. select ADK_TARGET_WITH_LT
  210. select ADK_TARGET_WITHOUT_MMU
  211. config ADK_CPU_CF_5211A
  212. bool
  213. select ADK_CPU_CF
  214. select ADK_TARGET_WITH_LT
  215. select ADK_TARGET_WITHOUT_MMU
  216. config ADK_CPU_CF_5213
  217. bool
  218. select ADK_CPU_CF
  219. select ADK_TARGET_WITH_LT
  220. select ADK_TARGET_WITHOUT_MMU
  221. config ADK_CPU_CF_5216
  222. bool
  223. select ADK_CPU_CF
  224. select ADK_TARGET_WITH_LT
  225. select ADK_TARGET_WITHOUT_MMU
  226. config ADK_CPU_CF_52235
  227. bool
  228. select ADK_CPU_CF
  229. select ADK_TARGET_WITH_LT
  230. select ADK_TARGET_WITHOUT_MMU
  231. config ADK_CPU_CF_5225
  232. bool
  233. select ADK_CPU_CF
  234. select ADK_TARGET_WITH_LT
  235. select ADK_TARGET_WITHOUT_MMU
  236. config ADK_CPU_CF_52259
  237. bool
  238. select ADK_CPU_CF
  239. select ADK_TARGET_WITH_LT
  240. select ADK_TARGET_WITHOUT_MMU
  241. config ADK_CPU_CF_5235
  242. bool
  243. select ADK_CPU_CF
  244. select ADK_TARGET_WITH_LT
  245. select ADK_TARGET_WITHOUT_MMU
  246. config ADK_CPU_CF_5249
  247. bool
  248. select ADK_CPU_CF
  249. select ADK_TARGET_WITH_LT
  250. select ADK_TARGET_WITHOUT_MMU
  251. config ADK_CPU_CF_5250
  252. bool
  253. select ADK_CPU_CF
  254. select ADK_TARGET_WITH_LT
  255. select ADK_TARGET_WITHOUT_MMU
  256. config ADK_CPU_CF_5271
  257. bool
  258. select ADK_CPU_CF
  259. select ADK_TARGET_WITH_LT
  260. select ADK_TARGET_WITHOUT_MMU
  261. config ADK_CPU_CF_5272
  262. bool
  263. select ADK_CPU_CF
  264. select ADK_TARGET_WITH_LT
  265. select ADK_TARGET_WITHOUT_MMU
  266. config ADK_CPU_CF_5275
  267. bool
  268. select ADK_CPU_CF
  269. select ADK_TARGET_WITH_LT
  270. select ADK_TARGET_WITHOUT_MMU
  271. config ADK_CPU_CF_5282
  272. bool
  273. select ADK_CPU_CF
  274. select ADK_TARGET_WITH_LT
  275. select ADK_TARGET_WITHOUT_MMU
  276. config ADK_CPU_CF_53017
  277. bool
  278. select ADK_CPU_CF
  279. select ADK_TARGET_WITH_LT
  280. select ADK_TARGET_WITHOUT_MMU
  281. config ADK_CPU_CF_5307
  282. bool
  283. select ADK_CPU_CF
  284. select ADK_TARGET_WITH_LT
  285. select ADK_TARGET_WITHOUT_MMU
  286. config ADK_CPU_CF_5329
  287. bool
  288. select ADK_CPU_CF
  289. select ADK_TARGET_WITH_LT
  290. select ADK_TARGET_WITHOUT_MMU
  291. config ADK_CPU_CF_5373
  292. bool
  293. select ADK_CPU_CF
  294. select ADK_TARGET_WITH_LT
  295. select ADK_TARGET_WITHOUT_MMU
  296. config ADK_CPU_CF_5407
  297. bool
  298. select ADK_CPU_CF
  299. select ADK_TARGET_WITH_LT
  300. select ADK_TARGET_WITHOUT_MMU
  301. config ADK_CPU_CF_5475
  302. bool
  303. select ADK_CPU_CF
  304. select ADK_TARGET_WITH_LT
  305. select ADK_TARGET_WITH_MMU
  306. config ADK_CPU_CORTEX_M3
  307. bool
  308. select ADK_TARGET_WITH_LT
  309. select ADK_TARGET_WITHOUT_MMU
  310. select ADK_TARGET_ARCH_ARM_WITH_THUMB
  311. config ADK_CPU_CORTEX_M4
  312. bool
  313. select ADK_TARGET_WITH_LT
  314. select ADK_TARGET_WITHOUT_MMU
  315. select ADK_TARGET_ARCH_ARM_WITH_THUMB
  316. config ADK_CPU_CORTEX_A5
  317. bool
  318. select ADK_TARGET_WITH_NPTL
  319. select ADK_TARGET_WITH_MMU
  320. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  321. select ADK_TARGET_CPU_WITH_NEON
  322. config ADK_CPU_CORTEX_A7
  323. bool
  324. select ADK_TARGET_WITH_NPTL
  325. select ADK_TARGET_WITH_MMU
  326. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  327. select ADK_TARGET_CPU_WITH_NEON
  328. config ADK_CPU_CORTEX_A8
  329. bool
  330. select ADK_TARGET_WITH_NPTL
  331. select ADK_TARGET_WITH_MMU
  332. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  333. select ADK_TARGET_CPU_WITH_NEON
  334. config ADK_CPU_CORTEX_A8
  335. bool
  336. select ADK_TARGET_WITH_NPTL
  337. select ADK_TARGET_WITH_MMU
  338. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  339. config ADK_CPU_CORTEX_A9
  340. bool
  341. select ADK_TARGET_WITH_NPTL
  342. select ADK_TARGET_WITH_MMU
  343. select ADK_TARGET_CPU_WITH_FPU_VFPV3
  344. select ADK_TARGET_CPU_WITH_NEON
  345. config ADK_CPU_CORTEX_A15
  346. bool
  347. select ADK_TARGET_WITH_NPTL
  348. select ADK_TARGET_WITH_MMU
  349. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  350. select ADK_TARGET_CPU_WITH_NEON
  351. config ADK_CPU_CORTEX_A17
  352. bool
  353. select ADK_TARGET_WITH_NPTL
  354. select ADK_TARGET_WITH_MMU
  355. select ADK_TARGET_CPU_WITH_FPU_VFPV4
  356. select ADK_TARGET_CPU_WITH_NEON
  357. config ADK_CPU_CORTEX_A53
  358. bool
  359. select ADK_LINUX_64
  360. select ADK_TARGET_WITH_NPTL
  361. select ADK_TARGET_WITH_MMU
  362. config ADK_CPU_CORTEX_A57
  363. bool
  364. select ADK_LINUX_64
  365. select ADK_TARGET_WITH_NPTL
  366. select ADK_TARGET_WITH_MMU
  367. config ADK_CPU_CRIS_V10
  368. bool
  369. select ADK_TARGET_WITH_LT
  370. select ADK_TARGET_WITH_MMU
  371. config ADK_CPU_CRIS_V32
  372. bool
  373. select ADK_TARGET_WITH_LT
  374. select ADK_TARGET_WITH_MMU
  375. config ADK_CPU_GEODE
  376. bool
  377. select ADK_TARGET_WITH_NPTL
  378. select ADK_TARGET_WITH_MMU
  379. config ADK_CPU_H8300
  380. bool
  381. select ADK_TARGET_WITHOUT_MMU
  382. select ADK_TARGET_WITHOUT_THREADS
  383. select ADK_TARGET_WITHOUT_CXX
  384. config ADK_CPU_I486
  385. bool
  386. select ADK_TARGET_WITH_NPTL
  387. select ADK_TARGET_WITH_MMU
  388. config ADK_CPU_I586
  389. bool
  390. select ADK_TARGET_WITH_NPTL
  391. select ADK_TARGET_WITH_MMU
  392. config ADK_CPU_I686
  393. bool
  394. select ADK_TARGET_WITH_NPTL
  395. select ADK_TARGET_WITH_MMU
  396. config ADK_CPU_LOONGSON2F
  397. bool
  398. select ADK_LINUX_64
  399. select ADK_TARGET_WITH_NPTL
  400. select ADK_TARGET_WITH_MMU
  401. config ADK_CPU_M68K
  402. bool
  403. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  404. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  405. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  406. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  407. config ADK_CPU_68020
  408. bool
  409. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  410. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  411. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  412. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  413. config ADK_CPU_68030
  414. bool
  415. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  416. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  417. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  418. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  419. config ADK_CPU_68040
  420. bool
  421. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  422. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  423. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  424. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  425. select ADK_TARGET_CPU_WITH_FPU
  426. config ADK_CPU_68060
  427. bool
  428. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC
  429. select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
  430. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  431. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
  432. config ADK_CPU_METAG
  433. bool
  434. select ADK_TARGET_WITH_NPTL
  435. select ADK_TARGET_WITH_MMU
  436. config ADK_CPU_MIPS32
  437. bool
  438. select ADK_TARGET_WITH_NPTL
  439. select ADK_TARGET_WITH_MMU
  440. select ADK_TARGET_CPU_WITH_FPU
  441. config ADK_CPU_MIPS32R2
  442. bool
  443. select ADK_TARGET_WITH_NPTL
  444. select ADK_TARGET_WITH_MMU
  445. select ADK_TARGET_CPU_WITH_FPU
  446. config ADK_CPU_MIPS64
  447. bool
  448. select ADK_LINUX_64
  449. select ADK_TARGET_WITH_NPTL
  450. select ADK_TARGET_WITH_MMU
  451. config ADK_CPU_MIPS64R2
  452. bool
  453. select ADK_LINUX_64
  454. select ADK_TARGET_WITH_NPTL
  455. select ADK_TARGET_WITH_MMU
  456. config ADK_CPU_MICROBLAZE
  457. bool
  458. select ADK_TARGET_WITHOUT_THREADS if ADK_TARGET_LIB_UCLIBC_NG
  459. select ADK_TARGET_WITHOUT_CXX if ADK_TARGET_LIB_UCLIBC_NG
  460. select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
  461. select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
  462. config ADK_CPU_NIOS2
  463. bool
  464. select ADK_TARGET_WITH_NPTL
  465. select ADK_TARGET_WITH_MMU
  466. config ADK_CPU_OR1K
  467. bool
  468. select ADK_TARGET_WITH_NPTL
  469. select ADK_TARGET_WITH_MMU
  470. config ADK_CPU_PARISC
  471. bool
  472. select ADK_TARGET_WITH_NPTL
  473. select ADK_TARGET_WITH_MMU
  474. config ADK_CPU_PENTIUM_M
  475. bool
  476. select ADK_TARGET_WITH_NPTL
  477. select ADK_TARGET_WITH_MMU
  478. config ADK_CPU_PPC
  479. bool
  480. select ADK_TARGET_WITH_NPTL
  481. select ADK_TARGET_WITH_MMU
  482. config ADK_CPU_PPC_440
  483. bool
  484. select ADK_TARGET_WITH_NPTL
  485. select ADK_TARGET_WITH_MMU
  486. config ADK_CPU_PPC64
  487. bool
  488. select ADK_LINUX_64
  489. select ADK_TARGET_WITH_NPTL
  490. select ADK_TARGET_WITH_MMU
  491. config ADK_CPU_SH2
  492. bool
  493. select ADK_TARGET_WITHOUT_MMU
  494. config ADK_CPU_SH2A
  495. bool
  496. select ADK_TARGET_WITHOUT_MMU
  497. config ADK_CPU_SH3
  498. bool
  499. select ADK_TARGET_WITHOUT_MMU
  500. config ADK_CPU_SH4
  501. bool
  502. select ADK_TARGET_WITH_NPTL
  503. select ADK_TARGET_WITH_MMU
  504. config ADK_CPU_SH4A
  505. bool
  506. select ADK_TARGET_WITH_NPTL
  507. select ADK_TARGET_WITH_MMU
  508. config ADK_CPU_SPARC_V8
  509. bool
  510. select ADK_TARGET_WITH_NPTL
  511. select ADK_TARGET_WITH_MMU
  512. config ADK_CPU_SPARC_V9
  513. bool
  514. select ADK_LINUX_64
  515. select ADK_TARGET_WITH_NPTL
  516. select ADK_TARGET_WITH_MMU
  517. config ADK_CPU_TILE
  518. bool
  519. select ADK_TARGET_WITH_NPTL
  520. select ADK_TARGET_WITH_MMU
  521. config ADK_CPU_X86
  522. bool
  523. select ADK_TARGET_WITH_NPTL
  524. select ADK_TARGET_WITH_MMU
  525. config ADK_CPU_X86_64
  526. bool
  527. select ADK_LINUX_64
  528. select ADK_TARGET_WITH_NPTL
  529. select ADK_TARGET_WITH_MMU
  530. config ADK_CPU_XSCALE
  531. bool
  532. select ADK_TARGET_WITH_NPTL
  533. select ADK_TARGET_WITH_MMU
  534. config ADK_CPU_XTENSA
  535. bool
  536. select ADK_TARGET_WITH_NPTL
  537. select ADK_TARGET_WITH_MMU
  538. # CPU features
  539. config ADK_TARGET_CPU_WITH_FPU
  540. bool
  541. config ADK_TARGET_CPU_WITH_FPU_VFP
  542. bool
  543. select ADK_TARGET_CPU_WITH_FPU
  544. config ADK_TARGET_CPU_WITH_FPU_VFPV3
  545. bool
  546. select ADK_TARGET_CPU_WITH_FPU
  547. config ADK_TARGET_CPU_WITH_FPU_VFPV4
  548. bool
  549. select ADK_TARGET_CPU_WITH_FPU
  550. config ADK_TARGET_CPU_WITH_VT
  551. bool
  552. config ADK_TARGET_CPU_WITH_MTRR
  553. bool
  554. config ADK_TARGET_CPU_WITH_MMX
  555. bool
  556. config ADK_TARGET_CPU_WITH_MMXEXT
  557. bool
  558. config ADK_TARGET_CPU_WITH_SSE
  559. bool
  560. config ADK_TARGET_CPU_WITH_SSE2
  561. bool
  562. config ADK_TARGET_CPU_WITH_SSE3
  563. bool
  564. config ADK_TARGET_CPU_WITH_SSSE3
  565. bool
  566. config ADK_TARGET_CPU_WITH_IWMMXT
  567. bool
  568. config ADK_TARGET_CPU_WITH_NEON
  569. bool
  570. config ADK_TARGET_CPU_WITH_HT
  571. bool
  572. config ADK_TARGET_CPU_WITH_3DNOW
  573. bool
  574. config ADK_TARGET_CPU_WITH_3DNOWEXT
  575. bool
  576. config ADK_TARGET_GCC_CPU
  577. string
  578. default "440" if ADK_CPU_PPC_440
  579. default "51" if ADK_CPU_CF_51
  580. default "5206" if ADK_CPU_CF_5206
  581. default "5206e" if ADK_CPU_CF_5206E
  582. default "5208" if ADK_CPU_CF_5208
  583. default "5211a" if ADK_CPU_CF_5211A
  584. default "5213" if ADK_CPU_CF_5213
  585. default "5216" if ADK_CPU_CF_5216
  586. default "52235" if ADK_CPU_CF_52235
  587. default "5225" if ADK_CPU_CF_5225
  588. default "52259" if ADK_CPU_CF_52259
  589. default "5235" if ADK_CPU_CF_5235
  590. default "5249" if ADK_CPU_CF_5249
  591. default "5250" if ADK_CPU_CF_5250
  592. default "5271" if ADK_CPU_CF_5271
  593. default "5272" if ADK_CPU_CF_5272
  594. default "5275" if ADK_CPU_CF_5275
  595. default "5282" if ADK_CPU_CF_5282
  596. default "53017" if ADK_CPU_CF_53017
  597. default "5307" if ADK_CPU_CF_5307
  598. default "5329" if ADK_CPU_CF_5329
  599. default "5373" if ADK_CPU_CF_5373
  600. default "5407" if ADK_CPU_CF_5407
  601. default "5475" if ADK_CPU_CF_5475
  602. default "68020" if ADK_CPU_68020
  603. default "68030" if ADK_CPU_68030
  604. default "68040" if ADK_CPU_68040
  605. default "68060" if ADK_CPU_68060
  606. default "arc700" if ADK_CPU_ARC700
  607. default "archs" if ADK_CPU_ARC_HS
  608. default "arm1176jzf-s" if ADK_CPU_ARM1176JZF_S
  609. default "arm926ej-s" if ADK_CPU_ARM926EJ_S
  610. default "armv8-a" if ADK_CPU_ARMV8
  611. default "cortex-a5" if ADK_CPU_CORTEX_A5
  612. default "cortex-a7" if ADK_CPU_CORTEX_A7
  613. default "cortex-a8" if ADK_CPU_CORTEX_A8
  614. default "cortex-a9" if ADK_CPU_CORTEX_A9
  615. default "cortex-a15" if ADK_CPU_CORTEX_A15
  616. default "cortex-a17" if ADK_CPU_CORTEX_A17
  617. default "cortex-a53" if ADK_CPU_CORTEX_A53
  618. default "cortex-a57" if ADK_CPU_CORTEX_A57
  619. default "cortex-m3" if ADK_CPU_CORTEX_M3
  620. default "cortex-m4" if ADK_CPU_CORTEX_M4
  621. default "powerpc" if ADK_CPU_PPC
  622. default "ultrasparc" if ADK_CPU_SPARC_V9
  623. default "v8" if ADK_CPU_SPARC_V8
  624. default "xscale" if ADK_CPU_XSCALE
  625. config ADK_TARGET_GCC_ARCH
  626. string
  627. default "btver1" if ADK_CPU_AMD_BOBCAT
  628. default "amdfam10" if ADK_CPU_AMDFAM10
  629. default "athlon" if ADK_CPU_ATHLON
  630. default "atom" if ADK_CPU_ATOM
  631. default "geode" if ADK_CPU_GEODE
  632. default "i486" if ADK_CPU_I486
  633. default "i586" if ADK_CPU_I586
  634. default "i686" if ADK_CPU_I686
  635. default "loongson2f" if ADK_CPU_LOONGSON2F
  636. default "mips32" if ADK_CPU_MIPS32
  637. default "mips32r2" if ADK_CPU_MIPS32R2
  638. default "mips64" if ADK_CPU_MIPS64
  639. default "mips64r2" if ADK_CPU_MIPS64R2
  640. default "nocona" if ADK_CPU_NOCONA
  641. default "pentium-m" if ADK_CPU_PENTIUM_M
  642. default "x86-64" if ADK_CPU_X86_64
  643. config ADK_TARGET_CPU_FLAGS
  644. string
  645. default "-mcpu=bf512" if ADK_CPU_BF512
  646. default "-mcpu=bf514" if ADK_CPU_BF514
  647. default "-mcpu=bf516" if ADK_CPU_BF516
  648. default "-mcpu=bf518" if ADK_CPU_BF518
  649. default "-mcpu=bf522" if ADK_CPU_BF522
  650. default "-mcpu=bf523" if ADK_CPU_BF523
  651. default "-mcpu=bf524" if ADK_CPU_BF524
  652. default "-mcpu=bf525" if ADK_CPU_BF525
  653. default "-mcpu=bf526" if ADK_CPU_BF526
  654. default "-mcpu=bf527" if ADK_CPU_BF527
  655. default "-mcpu=bf531" if ADK_CPU_BF531
  656. default "-mcpu=bf532" if ADK_CPU_BF532
  657. default "-mcpu=bf533" if ADK_CPU_BF533
  658. default "-mcpu=bf534" if ADK_CPU_BF534
  659. default "-mcpu=bf536" if ADK_CPU_BF536
  660. default "-mcpu=bf537" if ADK_CPU_BF537
  661. default "-mcpu=bf538" if ADK_CPU_BF538
  662. default "-mcpu=bf539" if ADK_CPU_BF539
  663. default "-mcpu=bf542" if ADK_CPU_BF542
  664. default "-mcpu=bf544" if ADK_CPU_BF544
  665. default "-mcpu=bf547" if ADK_CPU_BF547
  666. default "-mcpu=bf548" if ADK_CPU_BF548
  667. default "-mcpu=bf549" if ADK_CPU_BF549
  668. default "-mcpu=bf542m" if ADK_CPU_BF542M
  669. default "-mcpu=bf544m" if ADK_CPU_BF544M
  670. default "-mcpu=bf547m" if ADK_CPU_BF547M
  671. default "-mcpu=bf548m" if ADK_CPU_BF548M
  672. default "-mcpu=bf549m" if ADK_CPU_BF549M
  673. default "-mcpu=bf561" if ADK_CPU_BF561
  674. default "-mcpu=bf592" if ADK_CPU_BF592
  675. default "-mcpu=v10" if ADK_CPU_CRIS_V10
  676. default "-mcpu=v32" if ADK_CPU_CRIS_V32
  677. default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE
  678. default "-m2" if ADK_CPU_SH2
  679. default "-m2a" if ADK_CPU_SH2A
  680. default "-m3" if ADK_CPU_SH3
  681. default "-m4" if ADK_CPU_SH4
  682. default "-m4a" if ADK_CPU_SH4A
  683. default "-mcpu=powerpc64" if ADK_CPU_PPC64 && ADK_TARGET_BIG_ENDIAN
  684. default "-mcpu=powerpc64le" if ADK_CPU_PPC64 && ADK_TARGET_LITTLE_ENDIAN
  685. config ADK_TARGET_CPU_TYPE
  686. string
  687. depends on ADK_TARGET_TOOLCHAIN
  688. default "arc700" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC700
  689. default "archs" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC_HS
  690. default "bf512" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF512
  691. default "bf514" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF514
  692. default "bf516" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF516
  693. default "bf518" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF518
  694. default "bf522" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF522
  695. default "bf523" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF523
  696. default "bf524" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF524
  697. default "bf525" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF525
  698. default "bf526" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF526
  699. default "bf527" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF527
  700. default "bf531" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF531
  701. default "bf532" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF532
  702. default "bf533" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF533
  703. default "bf534" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF534
  704. default "bf536" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF536
  705. default "bf537" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF537
  706. default "bf538" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF538
  707. default "bf539" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF539
  708. default "bf542" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF542
  709. default "bf544" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF544
  710. default "bf547" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF547
  711. default "bf548" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF548
  712. default "bf549" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF549
  713. default "bf542m" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF542M
  714. default "bf544m" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF544M
  715. default "bf547m" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF547M
  716. default "bf548m" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF548M
  717. default "bf549m" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF549M
  718. default "bf561" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF561
  719. default "bf592" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF592
  720. default "51" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_51
  721. default "5206" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5206
  722. default "5206e" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5206E
  723. default "5208" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5208
  724. default "5211a" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5211A
  725. default "5213" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5213
  726. default "5216" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5216
  727. default "52235" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_52235
  728. default "5225" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5225
  729. default "52259" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_52259
  730. default "5235" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5235
  731. default "5249" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5249
  732. default "5250" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5250
  733. default "5271" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5271
  734. default "5272" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5272
  735. default "5275" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5275
  736. default "5282" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5282
  737. default "53017" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_53017
  738. default "5307" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5307
  739. default "5329" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5329
  740. default "5373" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5373
  741. default "5407" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5407
  742. default "5475" if ADK_TARGET_ARCH_M68K && ADK_CPU_CF_5475
  743. default "68020" if ADK_TARGET_ARCH_M68K && ADK_CPU_68020
  744. default "68030" if ADK_TARGET_ARCH_M68K && ADK_CPU_68030
  745. default "68040" if ADK_TARGET_ARCH_M68K && ADK_CPU_68040
  746. default "68060" if ADK_TARGET_ARCH_M68K && ADK_CPU_68060
  747. default "cortex_a5" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A5
  748. default "cortex_a7" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A7
  749. default "cortex_a8" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A8
  750. default "cortex_a9" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A9
  751. default "cortex_a15" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A15
  752. default "cortex_a17" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A17
  753. default "cortex_m3" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_M3
  754. default "cortex_m4" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_M4
  755. default "arm1176jzf_s" if ADK_TARGET_ARCH_ARM && ADK_CPU_ARM1176JZF_S
  756. default "arm926ej_s" if ADK_TARGET_ARCH_ARM && ADK_CPU_ARM926EJ_S
  757. default "cortex_a53" if ADK_TARGET_ARCH_AARCH64 && ADK_CPU_CORTEX_A53
  758. default "cortex_a57" if ADK_TARGET_ARCH_AARCH64 && ADK_CPU_CORTEX_A57
  759. config ADK_TARGET_CPU_ARCH
  760. string
  761. default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
  762. default "alpha" if ADK_TARGET_ARCH_ALPHA
  763. default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
  764. default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
  765. default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
  766. default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
  767. default "avr32" if ADK_CPU_AVR32
  768. default "bfin" if ADK_TARGET_ARCH_BFIN
  769. default "c6x" if ADK_CPU_C6X
  770. default "cris" if ADK_CPU_CRIS_V10
  771. default "crisv32" if ADK_CPU_CRIS_V32
  772. default "i486" if ADK_CPU_I486
  773. default "i586" if ADK_CPU_I586
  774. default "i686" if ADK_CPU_I686
  775. default "i586" if ADK_CPU_GEODE
  776. default "i686" if ADK_CPU_PENTIUM_M
  777. default "i686" if ADK_CPU_ATOM
  778. default "i686" if ADK_CPU_ATHLON
  779. default "h8300" if ADK_TARGET_ARCH_H8300
  780. default "hppa" if ADK_TARGET_ARCH_HPPA
  781. default "m68k" if ADK_TARGET_ARCH_M68K
  782. default "metag" if ADK_TARGET_ARCH_METAG
  783. default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
  784. default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
  785. default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
  786. default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
  787. default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
  788. default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
  789. default "nios2" if ADK_TARGET_ARCH_NIOS2
  790. default "or1k" if ADK_TARGET_ARCH_OR1K
  791. default "ppc" if ADK_CPU_PPC
  792. default "ppc" if ADK_CPU_PPC_440
  793. default "ppc64le" if ADK_CPU_PPC64 && ADK_TARGET_LITTLE_ENDIAN
  794. default "ppc64" if ADK_CPU_PPC64 && ADK_TARGET_BIG_ENDIAN
  795. default "sh2" if ADK_CPU_SH2
  796. default "sh2a" if ADK_CPU_SH2A
  797. default "sh3" if ADK_CPU_SH3
  798. default "sh4" if ADK_CPU_SH4 && ADK_TARGET_LITTLE_ENDIAN
  799. default "sh4eb" if ADK_CPU_SH4 && ADK_TARGET_BIG_ENDIAN
  800. default "sh4a" if ADK_CPU_SH4A && ADK_TARGET_LITTLE_ENDIAN
  801. default "sh4aeb" if ADK_CPU_SH4A && ADK_TARGET_BIG_ENDIAN
  802. default "sparc" if ADK_TARGET_ARCH_SPARC
  803. default "sparc64" if ADK_TARGET_ARCH_SPARC64
  804. default "tilegx" if ADK_TARGET_ARCH_TILE
  805. default "x86_64" if ADK_TARGET_ARCH_X86_64
  806. default "xtensa" if ADK_TARGET_ARCH_XTENSA