Config.in.arm 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  1. # arm cpu features
  2. config BR2_ARM_CPU_HAS_NEON
  3. bool
  4. # for some cores, NEON support is optional
  5. config BR2_ARM_CPU_MAYBE_HAS_NEON
  6. bool
  7. # For some cores, the FPU is optional
  8. config BR2_ARM_CPU_MAYBE_HAS_FPU
  9. bool
  10. config BR2_ARM_CPU_HAS_FPU
  11. bool
  12. # for some cores, VFPv2 is optional
  13. config BR2_ARM_CPU_MAYBE_HAS_VFPV2
  14. bool
  15. select BR2_ARM_CPU_MAYBE_HAS_FPU
  16. config BR2_ARM_CPU_HAS_VFPV2
  17. bool
  18. select BR2_ARM_CPU_HAS_FPU
  19. # for some cores, VFPv3 is optional
  20. config BR2_ARM_CPU_MAYBE_HAS_VFPV3
  21. bool
  22. select BR2_ARM_CPU_MAYBE_HAS_VFPV2
  23. config BR2_ARM_CPU_HAS_VFPV3
  24. bool
  25. select BR2_ARM_CPU_HAS_VFPV2
  26. # for some cores, VFPv4 is optional
  27. config BR2_ARM_CPU_MAYBE_HAS_VFPV4
  28. bool
  29. select BR2_ARM_CPU_MAYBE_HAS_VFPV3
  30. config BR2_ARM_CPU_HAS_VFPV4
  31. bool
  32. select BR2_ARM_CPU_HAS_VFPV3
  33. # FPv4 is always optional
  34. config BR2_ARM_CPU_MAYBE_HAS_FPV4
  35. bool
  36. select BR2_ARM_CPU_MAYBE_HAS_FPU
  37. config BR2_ARM_CPU_HAS_FPV4
  38. bool
  39. select BR2_ARM_CPU_HAS_FPU
  40. # FPv5 is always optional
  41. config BR2_ARM_CPU_MAYBE_HAS_FPV5
  42. bool
  43. select BR2_ARM_CPU_MAYBE_HAS_FPV4
  44. config BR2_ARM_CPU_HAS_FPV5
  45. bool
  46. select BR2_ARM_CPU_HAS_FPV4
  47. config BR2_ARM_CPU_HAS_FP_ARMV8
  48. bool
  49. select BR2_ARM_CPU_HAS_VFPV4
  50. config BR2_ARM_CPU_HAS_ARM
  51. bool
  52. config BR2_ARM_CPU_HAS_THUMB
  53. bool
  54. config BR2_ARM_CPU_HAS_THUMB2
  55. bool
  56. config BR2_ARM_CPU_ARMV4
  57. bool
  58. select BR2_USE_MMU
  59. config BR2_ARM_CPU_ARMV5
  60. bool
  61. select BR2_USE_MMU
  62. config BR2_ARM_CPU_ARMV6
  63. bool
  64. select BR2_USE_MMU
  65. config BR2_ARM_CPU_ARMV7A
  66. bool
  67. select BR2_USE_MMU
  68. config BR2_ARM_CPU_ARMV7M
  69. bool
  70. select BR2_ARCH_HAS_FDPIC_SUPPORT
  71. config BR2_ARM_CPU_ARMV8A
  72. bool
  73. select BR2_USE_MMU
  74. # Armv9.0-A base specification is a super-set of Armv8.5-A. It is
  75. # fully compatible with Armv8. This symbol is defined to allow checks
  76. # for doing Armv9 optimization. Armv8 is also selected for
  77. # compatibility.
  78. config BR2_ARM_CPU_ARMV9A
  79. bool
  80. select BR2_ARM_CPU_ARMV8A
  81. choice
  82. prompt "Target Architecture Variant"
  83. default BR2_cortex_a53 if BR2_ARCH_IS_64
  84. default BR2_arm926t
  85. help
  86. Specific CPU variant to use
  87. if !BR2_ARCH_IS_64
  88. comment "armv4 cores"
  89. config BR2_arm920t
  90. bool "arm920t"
  91. select BR2_ARM_CPU_HAS_ARM
  92. select BR2_ARM_CPU_HAS_THUMB
  93. select BR2_ARM_CPU_ARMV4
  94. config BR2_arm922t
  95. bool "arm922t"
  96. select BR2_ARM_CPU_HAS_ARM
  97. select BR2_ARM_CPU_HAS_THUMB
  98. select BR2_ARM_CPU_ARMV4
  99. config BR2_fa526
  100. bool "fa526/626"
  101. select BR2_ARM_CPU_HAS_ARM
  102. select BR2_ARM_CPU_ARMV4
  103. config BR2_strongarm
  104. bool "strongarm sa110/sa1100"
  105. select BR2_ARM_CPU_HAS_ARM
  106. select BR2_ARM_CPU_ARMV4
  107. comment "armv5 cores"
  108. config BR2_arm926t
  109. bool "arm926t"
  110. select BR2_ARM_CPU_HAS_ARM
  111. select BR2_ARM_CPU_MAYBE_HAS_VFPV2
  112. select BR2_ARM_CPU_HAS_THUMB
  113. select BR2_ARM_CPU_ARMV5
  114. config BR2_xscale
  115. bool "xscale"
  116. select BR2_ARM_CPU_HAS_ARM
  117. select BR2_ARM_CPU_HAS_THUMB
  118. select BR2_ARM_CPU_ARMV5
  119. comment "armv6 cores"
  120. config BR2_arm1136j_s
  121. bool "arm1136j-s"
  122. select BR2_ARM_CPU_HAS_ARM
  123. select BR2_ARM_CPU_HAS_THUMB
  124. select BR2_ARM_CPU_ARMV6
  125. config BR2_arm1136jf_s
  126. bool "arm1136jf-s"
  127. select BR2_ARM_CPU_HAS_ARM
  128. select BR2_ARM_CPU_HAS_VFPV2
  129. select BR2_ARM_CPU_HAS_THUMB
  130. select BR2_ARM_CPU_ARMV6
  131. config BR2_arm1176jz_s
  132. bool "arm1176jz-s"
  133. select BR2_ARM_CPU_HAS_ARM
  134. select BR2_ARM_CPU_HAS_THUMB
  135. select BR2_ARM_CPU_ARMV6
  136. config BR2_arm1176jzf_s
  137. bool "arm1176jzf-s"
  138. select BR2_ARM_CPU_HAS_ARM
  139. select BR2_ARM_CPU_HAS_VFPV2
  140. select BR2_ARM_CPU_HAS_THUMB
  141. select BR2_ARM_CPU_ARMV6
  142. config BR2_arm11mpcore
  143. bool "mpcore"
  144. select BR2_ARM_CPU_HAS_ARM
  145. select BR2_ARM_CPU_MAYBE_HAS_VFPV2
  146. select BR2_ARM_CPU_HAS_THUMB
  147. select BR2_ARM_CPU_ARMV6
  148. comment "armv7a cores"
  149. config BR2_cortex_a5
  150. bool "cortex-A5"
  151. select BR2_ARM_CPU_HAS_ARM
  152. select BR2_ARM_CPU_MAYBE_HAS_NEON
  153. select BR2_ARM_CPU_MAYBE_HAS_VFPV4
  154. select BR2_ARM_CPU_HAS_THUMB2
  155. select BR2_ARM_CPU_ARMV7A
  156. config BR2_cortex_a7
  157. bool "cortex-A7"
  158. select BR2_ARM_CPU_HAS_ARM
  159. select BR2_ARM_CPU_HAS_NEON
  160. select BR2_ARM_CPU_HAS_VFPV4
  161. select BR2_ARM_CPU_HAS_THUMB2
  162. select BR2_ARM_CPU_ARMV7A
  163. config BR2_cortex_a8
  164. bool "cortex-A8"
  165. select BR2_ARM_CPU_HAS_ARM
  166. select BR2_ARM_CPU_HAS_NEON
  167. select BR2_ARM_CPU_HAS_VFPV3
  168. select BR2_ARM_CPU_HAS_THUMB2
  169. select BR2_ARM_CPU_ARMV7A
  170. config BR2_cortex_a9
  171. bool "cortex-A9"
  172. select BR2_ARM_CPU_HAS_ARM
  173. select BR2_ARM_CPU_MAYBE_HAS_NEON
  174. select BR2_ARM_CPU_MAYBE_HAS_VFPV3
  175. select BR2_ARM_CPU_HAS_THUMB2
  176. select BR2_ARM_CPU_ARMV7A
  177. config BR2_cortex_a12
  178. bool "cortex-A12"
  179. select BR2_ARM_CPU_HAS_ARM
  180. select BR2_ARM_CPU_HAS_NEON
  181. select BR2_ARM_CPU_HAS_VFPV4
  182. select BR2_ARM_CPU_HAS_THUMB2
  183. select BR2_ARM_CPU_ARMV7A
  184. config BR2_cortex_a15
  185. bool "cortex-A15"
  186. select BR2_ARM_CPU_HAS_ARM
  187. select BR2_ARM_CPU_HAS_NEON
  188. select BR2_ARM_CPU_HAS_VFPV4
  189. select BR2_ARM_CPU_HAS_THUMB2
  190. select BR2_ARM_CPU_ARMV7A
  191. config BR2_cortex_a15_a7
  192. bool "cortex-A15/A7 big.LITTLE"
  193. select BR2_ARM_CPU_HAS_ARM
  194. select BR2_ARM_CPU_HAS_NEON
  195. select BR2_ARM_CPU_HAS_VFPV4
  196. select BR2_ARM_CPU_HAS_THUMB2
  197. select BR2_ARM_CPU_ARMV7A
  198. select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
  199. config BR2_cortex_a17
  200. bool "cortex-A17"
  201. select BR2_ARM_CPU_HAS_ARM
  202. select BR2_ARM_CPU_HAS_NEON
  203. select BR2_ARM_CPU_HAS_VFPV4
  204. select BR2_ARM_CPU_HAS_THUMB2
  205. select BR2_ARM_CPU_ARMV7A
  206. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  207. config BR2_cortex_a17_a7
  208. bool "cortex-A17/A7 big.LITTLE"
  209. select BR2_ARM_CPU_HAS_ARM
  210. select BR2_ARM_CPU_HAS_NEON
  211. select BR2_ARM_CPU_HAS_VFPV4
  212. select BR2_ARM_CPU_HAS_THUMB2
  213. select BR2_ARM_CPU_ARMV7A
  214. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  215. config BR2_pj4
  216. bool "pj4"
  217. select BR2_ARM_CPU_HAS_ARM
  218. select BR2_ARM_CPU_HAS_VFPV3
  219. select BR2_ARM_CPU_ARMV7A
  220. # Cortex-M cores are only supported for little endian configurations
  221. if BR2_arm
  222. comment "armv7m cores"
  223. config BR2_cortex_m3
  224. bool "cortex-M3"
  225. select BR2_ARM_CPU_HAS_THUMB2
  226. select BR2_ARM_CPU_ARMV7M
  227. config BR2_cortex_m4
  228. bool "cortex-M4"
  229. select BR2_ARM_CPU_HAS_THUMB2
  230. select BR2_ARM_CPU_MAYBE_HAS_FPV4
  231. select BR2_ARM_CPU_ARMV7M
  232. config BR2_cortex_m7
  233. bool "cortex-M7"
  234. select BR2_ARM_CPU_HAS_THUMB2
  235. select BR2_ARM_CPU_MAYBE_HAS_FPV5
  236. select BR2_ARM_CPU_ARMV7M
  237. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  238. endif # BR2_arm
  239. endif # !BR2_ARCH_IS_64
  240. comment "armv8 cores"
  241. config BR2_cortex_a32
  242. bool "cortex-A32"
  243. depends on !BR2_ARCH_IS_64
  244. select BR2_ARM_CPU_HAS_ARM
  245. select BR2_ARM_CPU_HAS_NEON
  246. select BR2_ARM_CPU_HAS_THUMB2
  247. select BR2_ARM_CPU_HAS_FP_ARMV8
  248. select BR2_ARM_CPU_ARMV8A
  249. select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  250. config BR2_cortex_a35
  251. bool "cortex-A35"
  252. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  253. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  254. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  255. select BR2_ARM_CPU_HAS_FP_ARMV8
  256. select BR2_ARM_CPU_ARMV8A
  257. select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  258. config BR2_cortex_a53
  259. bool "cortex-A53"
  260. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  261. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  262. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  263. select BR2_ARM_CPU_HAS_FP_ARMV8
  264. select BR2_ARM_CPU_ARMV8A
  265. config BR2_cortex_a57
  266. bool "cortex-A57"
  267. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  268. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  269. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  270. select BR2_ARM_CPU_HAS_FP_ARMV8
  271. select BR2_ARM_CPU_ARMV8A
  272. config BR2_cortex_a57_a53
  273. bool "cortex-A57/A53 big.LITTLE"
  274. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  275. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  276. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  277. select BR2_ARM_CPU_HAS_FP_ARMV8
  278. select BR2_ARM_CPU_ARMV8A
  279. select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  280. config BR2_cortex_a72
  281. bool "cortex-A72"
  282. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  283. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  284. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  285. select BR2_ARM_CPU_HAS_FP_ARMV8
  286. select BR2_ARM_CPU_ARMV8A
  287. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  288. config BR2_cortex_a72_a53
  289. bool "cortex-A72/A53 big.LITTLE"
  290. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  291. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  292. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  293. select BR2_ARM_CPU_HAS_FP_ARMV8
  294. select BR2_ARM_CPU_ARMV8A
  295. select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  296. config BR2_cortex_a73
  297. bool "cortex-A73"
  298. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  299. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  300. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  301. select BR2_ARM_CPU_HAS_FP_ARMV8
  302. select BR2_ARM_CPU_ARMV8A
  303. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  304. config BR2_cortex_a73_a35
  305. bool "cortex-A73/A35 big.LITTLE"
  306. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  307. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  308. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  309. select BR2_ARM_CPU_HAS_FP_ARMV8
  310. select BR2_ARM_CPU_ARMV8A
  311. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  312. config BR2_cortex_a73_a53
  313. bool "cortex-A73/A53 big.LITTLE"
  314. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  315. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  316. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  317. select BR2_ARM_CPU_HAS_FP_ARMV8
  318. select BR2_ARM_CPU_ARMV8A
  319. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  320. config BR2_emag
  321. bool "emag"
  322. depends on BR2_ARCH_IS_64
  323. select BR2_ARM_CPU_HAS_FP_ARMV8
  324. select BR2_ARM_CPU_ARMV8A
  325. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  326. config BR2_exynos_m1
  327. bool "exynos-m1"
  328. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  329. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  330. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  331. select BR2_ARM_CPU_HAS_FP_ARMV8
  332. select BR2_ARM_CPU_ARMV8A
  333. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  334. config BR2_falkor
  335. bool "falkor"
  336. depends on BR2_ARCH_IS_64
  337. select BR2_ARM_CPU_HAS_FP_ARMV8
  338. select BR2_ARM_CPU_ARMV8A
  339. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  340. config BR2_phecda
  341. bool "phecda"
  342. depends on BR2_ARCH_IS_64
  343. select BR2_ARM_CPU_HAS_FP_ARMV8
  344. select BR2_ARM_CPU_ARMV8A
  345. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  346. config BR2_qdf24xx
  347. bool "qdf24xx"
  348. depends on BR2_ARCH_IS_64
  349. select BR2_ARM_CPU_HAS_FP_ARMV8
  350. select BR2_ARM_CPU_ARMV8A
  351. select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  352. config BR2_thunderx
  353. bool "thunderx (aka octeontx)"
  354. depends on BR2_ARCH_IS_64
  355. select BR2_ARM_CPU_HAS_FP_ARMV8
  356. select BR2_ARM_CPU_ARMV8A
  357. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  358. config BR2_thunderxt81
  359. bool "thunderxt81 (aka octeontx81)"
  360. depends on BR2_ARCH_IS_64
  361. select BR2_ARM_CPU_HAS_FP_ARMV8
  362. select BR2_ARM_CPU_ARMV8A
  363. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  364. config BR2_thunderxt83
  365. bool "thunderxt83 (aka octeontx83)"
  366. depends on BR2_ARCH_IS_64
  367. select BR2_ARM_CPU_HAS_FP_ARMV8
  368. select BR2_ARM_CPU_ARMV8A
  369. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  370. config BR2_thunderxt88
  371. bool "thunderxt88"
  372. depends on BR2_ARCH_IS_64
  373. select BR2_ARM_CPU_HAS_FP_ARMV8
  374. select BR2_ARM_CPU_ARMV8A
  375. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  376. config BR2_thunderxt88p1
  377. bool "thunderxt88p1"
  378. depends on BR2_ARCH_IS_64
  379. select BR2_ARM_CPU_HAS_FP_ARMV8
  380. select BR2_ARM_CPU_ARMV8A
  381. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  382. config BR2_xgene1
  383. bool "xgene1"
  384. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  385. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  386. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  387. select BR2_ARM_CPU_HAS_FP_ARMV8
  388. select BR2_ARM_CPU_ARMV8A
  389. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  390. comment "armv8.1a cores"
  391. config BR2_thunderx2t99
  392. bool "thunderx2t99"
  393. depends on BR2_ARCH_IS_64
  394. select BR2_ARM_CPU_HAS_FP_ARMV8
  395. select BR2_ARM_CPU_ARMV8A
  396. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  397. config BR2_thunderx2t99p1
  398. bool "thunderx2t99p1"
  399. depends on BR2_ARCH_IS_64
  400. select BR2_ARM_CPU_HAS_FP_ARMV8
  401. select BR2_ARM_CPU_ARMV8A
  402. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  403. config BR2_vulcan
  404. bool "vulcan"
  405. depends on BR2_ARCH_IS_64
  406. select BR2_ARM_CPU_HAS_FP_ARMV8
  407. select BR2_ARM_CPU_ARMV8A
  408. select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  409. comment "armv8.2a cores"
  410. config BR2_cortex_a55
  411. bool "cortex-A55"
  412. depends on BR2_ARCH_IS_64
  413. select BR2_ARM_CPU_HAS_FP_ARMV8
  414. select BR2_ARM_CPU_ARMV8A
  415. select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
  416. config BR2_cortex_a75
  417. bool "cortex-A75"
  418. depends on BR2_ARCH_IS_64
  419. select BR2_ARM_CPU_HAS_FP_ARMV8
  420. select BR2_ARM_CPU_ARMV8A
  421. select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
  422. config BR2_cortex_a75_a55
  423. bool "cortex-A75/A55 big.LITTLE"
  424. depends on BR2_ARCH_IS_64
  425. select BR2_ARM_CPU_HAS_FP_ARMV8
  426. select BR2_ARM_CPU_ARMV8A
  427. select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
  428. config BR2_cortex_a76
  429. bool "cortex-A76"
  430. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  431. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  432. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  433. select BR2_ARM_CPU_HAS_FP_ARMV8
  434. select BR2_ARM_CPU_ARMV8A
  435. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  436. config BR2_cortex_a76_a55
  437. bool "cortex-A76/A55 big.LITTLE"
  438. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  439. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  440. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  441. select BR2_ARM_CPU_HAS_FP_ARMV8
  442. select BR2_ARM_CPU_ARMV8A
  443. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  444. config BR2_cortex_a78
  445. bool "cortex-A78"
  446. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  447. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  448. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  449. select BR2_ARM_CPU_HAS_FP_ARMV8
  450. select BR2_ARM_CPU_ARMV8A
  451. select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
  452. config BR2_neoverse_n1
  453. bool "neoverse-N1 (aka ares)"
  454. select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
  455. select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
  456. select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
  457. select BR2_ARM_CPU_HAS_FP_ARMV8
  458. select BR2_ARM_CPU_ARMV8A
  459. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  460. config BR2_tsv110
  461. bool "tsv110"
  462. depends on BR2_ARCH_IS_64
  463. select BR2_ARM_CPU_HAS_FP_ARMV8
  464. select BR2_ARM_CPU_ARMV8A
  465. select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  466. comment "armv8.4a cores"
  467. config BR2_saphira
  468. bool "saphira"
  469. depends on BR2_ARCH_IS_64
  470. select BR2_ARM_CPU_HAS_FP_ARMV8
  471. select BR2_ARM_CPU_ARMV8A
  472. select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
  473. comment "armv9.0a cores"
  474. config BR2_cortex_a710
  475. bool "Cortex-A710 (aka matterhorn)"
  476. depends on BR2_ARCH_IS_64
  477. select BR2_ARM_CPU_HAS_FP_ARMV8
  478. select BR2_ARM_CPU_ARMV9A
  479. select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
  480. config BR2_neoverse_n2
  481. bool "neoverse-N2 (aka perseus)"
  482. depends on BR2_ARCH_IS_64
  483. select BR2_ARM_CPU_HAS_FP_ARMV8
  484. select BR2_ARM_CPU_ARMV9A
  485. select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
  486. endchoice
  487. config BR2_ARM_ENABLE_NEON
  488. bool "Enable NEON SIMD extension support"
  489. depends on BR2_ARM_CPU_MAYBE_HAS_NEON
  490. select BR2_ARM_CPU_HAS_NEON
  491. help
  492. For some CPU cores, the NEON SIMD extension is optional.
  493. Select this option if you are certain your particular
  494. implementation has NEON support and you want to use it.
  495. config BR2_ARM_ENABLE_VFP
  496. bool "Enable VFP extension support"
  497. depends on BR2_ARM_CPU_MAYBE_HAS_FPU
  498. select BR2_ARM_CPU_HAS_FPV5 if BR2_ARM_CPU_MAYBE_HAS_FPV5
  499. select BR2_ARM_CPU_HAS_FPV4 if BR2_ARM_CPU_MAYBE_HAS_FPV4
  500. select BR2_ARM_CPU_HAS_VFPV4 if BR2_ARM_CPU_MAYBE_HAS_VFPV4
  501. select BR2_ARM_CPU_HAS_VFPV3 if BR2_ARM_CPU_MAYBE_HAS_VFPV3
  502. select BR2_ARM_CPU_HAS_VFPV2 if BR2_ARM_CPU_MAYBE_HAS_VFPV2
  503. help
  504. For some CPU cores, the VFP extension is optional. Select
  505. this option if you are certain your particular
  506. implementation has VFP support and you want to use it.
  507. choice
  508. prompt "Target ABI"
  509. default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_FPU
  510. default BR2_ARM_EABI
  511. depends on BR2_arm || BR2_armeb
  512. help
  513. Application Binary Interface to use. The Application Binary
  514. Interface describes the calling conventions (how arguments
  515. are passed to functions, how the return value is passed, how
  516. system calls are made, etc.).
  517. config BR2_ARM_EABI
  518. bool "EABI"
  519. help
  520. The EABI is currently the standard ARM ABI, which is used in
  521. most projects. It supports both the 'soft' floating point
  522. model (in which floating point instructions are emulated in
  523. software) and the 'softfp' floating point model (in which
  524. floating point instructions are executed using an hardware
  525. floating point unit, but floating point arguments to
  526. functions are passed in integer registers).
  527. The 'softfp' floating point model is link-compatible with
  528. the 'soft' floating point model, i.e you can link a library
  529. built 'soft' with some other code built 'softfp'.
  530. However, passing the floating point arguments in integer
  531. registers is a bit inefficient, so if your ARM processor has
  532. a floating point unit, and you don't have pre-compiled
  533. 'soft' or 'softfp' code, using the EABIhf ABI will provide
  534. better floating point performances.
  535. If your processor does not have a floating point unit, then
  536. you must use this ABI.
  537. config BR2_ARM_EABIHF
  538. bool "EABIhf"
  539. depends on BR2_ARM_CPU_HAS_FPU
  540. help
  541. The EABIhf is an extension of EABI which supports the 'hard'
  542. floating point model. This model uses the floating point
  543. unit to execute floating point instructions, and passes
  544. floating point arguments in floating point registers.
  545. It is more efficient than EABI for floating point related
  546. workload. However, it does not allow to link against code
  547. that has been pre-built for the 'soft' or 'softfp' floating
  548. point models.
  549. If your processor has a floating point unit, and you don't
  550. depend on existing pre-compiled code, this option is most
  551. likely the best choice.
  552. endchoice
  553. choice
  554. prompt "Floating point strategy"
  555. default BR2_ARM_FPU_FP_ARMV8 if BR2_ARM_CPU_HAS_FP_ARMV8
  556. default BR2_ARM_FPU_FPV5D16 if BR2_ARM_CPU_HAS_FPV5
  557. default BR2_ARM_FPU_FPV4D16 if BR2_ARM_CPU_HAS_FPV4
  558. default BR2_ARM_FPU_VFPV4D16 if BR2_ARM_CPU_HAS_VFPV4
  559. default BR2_ARM_FPU_VFPV3D16 if BR2_ARM_CPU_HAS_VFPV3
  560. default BR2_ARM_FPU_VFPV2 if BR2_ARM_CPU_HAS_VFPV2
  561. default BR2_ARM_SOFT_FLOAT if !BR2_ARM_CPU_HAS_FPU
  562. config BR2_ARM_SOFT_FLOAT
  563. bool "Soft float"
  564. depends on BR2_ARM_EABI
  565. select BR2_SOFT_FLOAT
  566. help
  567. This option allows to use software emulated floating
  568. point. It should be used for ARM cores that do not include a
  569. Vector Floating Point unit, such as ARMv5 cores (ARM926 for
  570. example) or certain ARMv6 cores.
  571. config BR2_ARM_FPU_VFPV2
  572. bool "VFPv2"
  573. depends on BR2_ARM_CPU_HAS_VFPV2
  574. help
  575. This option allows to use the VFPv2 floating point unit, as
  576. available in some ARMv5 processors (ARM926EJ-S) and some
  577. ARMv6 processors (ARM1136JF-S, ARM1176JZF-S and ARM11
  578. MPCore).
  579. Note that this option is also safe to use for newer cores
  580. such as Cortex-A, because the VFPv3 and VFPv4 units are
  581. backward compatible with VFPv2.
  582. config BR2_ARM_FPU_VFPV3
  583. bool "VFPv3"
  584. depends on BR2_ARM_CPU_HAS_VFPV3
  585. help
  586. This option allows to use the VFPv3 floating point unit, as
  587. available in some ARMv7 processors (Cortex-A{8, 9}). This
  588. option requires a VFPv3 unit that has 32 double-precision
  589. registers, which is not necessarily the case in all SOCs
  590. based on Cortex-A{8, 9}. If you're unsure, use VFPv3-D16
  591. instead, which is guaranteed to work on all Cortex-A{8, 9}.
  592. Note that this option is also safe to use for newer cores
  593. that have a VFPv4 unit, because VFPv4 is backward compatible
  594. with VFPv3. They must of course also have 32
  595. double-precision registers.
  596. config BR2_ARM_FPU_VFPV3D16
  597. bool "VFPv3-D16"
  598. depends on BR2_ARM_CPU_HAS_VFPV3
  599. help
  600. This option allows to use the VFPv3 floating point unit, as
  601. available in some ARMv7 processors (Cortex-A{8, 9}). This
  602. option requires a VFPv3 unit that has 16 double-precision
  603. registers, which is generally the case in all SOCs based on
  604. Cortex-A{8, 9}, even though VFPv3 is technically optional on
  605. Cortex-A9. This is the safest option for those cores.
  606. Note that this option is also safe to use for newer cores
  607. such that have a VFPv4 unit, because the VFPv4 is backward
  608. compatible with VFPv3.
  609. config BR2_ARM_FPU_VFPV4
  610. bool "VFPv4"
  611. depends on BR2_ARM_CPU_HAS_VFPV4
  612. help
  613. This option allows to use the VFPv4 floating point unit, as
  614. available in some ARMv7 processors (Cortex-A{5, 7, 12,
  615. 15}). This option requires a VFPv4 unit that has 32
  616. double-precision registers, which is not necessarily the
  617. case in all SOCs based on Cortex-A{5, 7, 12, 15}. If you're
  618. unsure, you should probably use VFPv4-D16 instead.
  619. Note that if you want binary code that works on all ARMv7
  620. cores, including the earlier Cortex-A{8, 9}, you should
  621. instead select VFPv3.
  622. config BR2_ARM_FPU_VFPV4D16
  623. bool "VFPv4-D16"
  624. depends on BR2_ARM_CPU_HAS_VFPV4
  625. help
  626. This option allows to use the VFPv4 floating point unit, as
  627. available in some ARMv7 processors (Cortex-A{5, 7, 12,
  628. 15}). This option requires a VFPv4 unit that has 16
  629. double-precision registers, which is always available on
  630. Cortex-A12 and Cortex-A15, but optional on Cortex-A5 and
  631. Cortex-A7.
  632. Note that if you want binary code that works on all ARMv7
  633. cores, including the earlier Cortex-A{8, 9}, you should
  634. instead select VFPv3-D16.
  635. config BR2_ARM_FPU_NEON
  636. bool "NEON"
  637. depends on BR2_ARM_CPU_HAS_NEON
  638. help
  639. This option allows to use the NEON SIMD unit, as available
  640. in some ARMv7 processors, as a floating-point unit. It
  641. should however be noted that using NEON for floating point
  642. operations doesn't provide a complete compatibility with the
  643. IEEE 754.
  644. config BR2_ARM_FPU_NEON_VFPV4
  645. bool "NEON/VFPv4"
  646. depends on BR2_ARM_CPU_HAS_VFPV4
  647. depends on BR2_ARM_CPU_HAS_NEON
  648. help
  649. This option allows to use both the VFPv4 and the NEON SIMD
  650. units for floating point operations. Note that some ARMv7
  651. cores do not necessarily have VFPv4 and/or NEON support, for
  652. example on Cortex-A5 and Cortex-A7, support for VFPv4 and
  653. NEON is optional.
  654. config BR2_ARM_FPU_FPV4D16
  655. bool "FPv4-D16"
  656. depends on BR2_ARM_CPU_HAS_FPV4
  657. help
  658. This option allows to use the FPv4-SP (single precision)
  659. floating point unit, as available in some ARMv7m processors
  660. (Cortex-M4).
  661. config BR2_ARM_FPU_FPV5D16
  662. bool "FPv5-D16"
  663. depends on BR2_ARM_CPU_HAS_FPV5
  664. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  665. help
  666. This option allows to use the FPv5-SP (single precision)
  667. floating point unit, as available in some ARMv7m processors
  668. (Cortex-M7).
  669. Note that if you want binary code that works on the earlier
  670. Cortex-M4, you should instead select FPv4-D16.
  671. config BR2_ARM_FPU_FPV5DPD16
  672. bool "FPv5-DP-D16"
  673. depends on BR2_ARM_CPU_HAS_FPV5
  674. select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  675. help
  676. This option allows to use the FPv5-DP (double precision)
  677. floating point unit, as available in some ARMv7m processors
  678. (Cortex-M7).
  679. Note that if you want binary code that works on the earlier
  680. Cortex-M4, you should instead select FPv4-D16.
  681. config BR2_ARM_FPU_FP_ARMV8
  682. bool "FP-ARMv8"
  683. depends on BR2_ARM_CPU_HAS_FP_ARMV8
  684. help
  685. This option allows to use the ARMv8 floating point unit.
  686. config BR2_ARM_FPU_NEON_FP_ARMV8
  687. bool "NEON/FP-ARMv8"
  688. depends on BR2_ARM_CPU_HAS_FP_ARMV8
  689. depends on BR2_ARM_CPU_HAS_NEON
  690. help
  691. This option allows to use both the ARMv8 floating point unit
  692. and the NEON SIMD unit for floating point operations.
  693. endchoice
  694. choice
  695. prompt "ARM instruction set"
  696. depends on BR2_arm || BR2_armeb
  697. config BR2_ARM_INSTRUCTIONS_ARM
  698. bool "ARM"
  699. depends on BR2_ARM_CPU_HAS_ARM
  700. help
  701. This option instructs the compiler to generate regular ARM
  702. instructions, that are all 32 bits wide.
  703. config BR2_ARM_INSTRUCTIONS_THUMB
  704. bool "Thumb"
  705. depends on BR2_ARM_CPU_HAS_THUMB
  706. # Thumb-1 and VFP are not compatible
  707. depends on BR2_ARM_SOFT_FLOAT
  708. help
  709. This option instructions the compiler to generate Thumb
  710. instructions, which allows to mix 16 bits instructions and
  711. 32 bits instructions. This generally provides a much smaller
  712. compiled binary size.
  713. comment "Thumb1 is not compatible with VFP"
  714. depends on BR2_ARM_CPU_HAS_THUMB
  715. depends on !BR2_ARM_SOFT_FLOAT
  716. config BR2_ARM_INSTRUCTIONS_THUMB2
  717. bool "Thumb2"
  718. depends on BR2_ARM_CPU_HAS_THUMB2
  719. help
  720. This option instructions the compiler to generate Thumb2
  721. instructions, which allows to mix 16 bits instructions and
  722. 32 bits instructions. This generally provides a much smaller
  723. compiled binary size.
  724. endchoice
  725. choice
  726. prompt "MMU Page Size"
  727. default BR2_ARM64_PAGE_SIZE_4K
  728. depends on BR2_aarch64 || BR2_aarch64_be
  729. help
  730. The default is 4KB, and you should probably keep this unless
  731. you know what you are doing. In particular, the kernel
  732. configuration must match this choice. If your kernel is
  733. built by Buildroot, the kernel configuration is
  734. automatically adjusted, but not if you built your kernel
  735. outside of Buildroot.
  736. config BR2_ARM64_PAGE_SIZE_4K
  737. bool "4KB"
  738. config BR2_ARM64_PAGE_SIZE_16K
  739. bool "16KB"
  740. config BR2_ARM64_PAGE_SIZE_64K
  741. bool "64KB"
  742. endchoice
  743. config BR2_ARM64_PAGE_SIZE
  744. string
  745. default "4K" if BR2_ARM64_PAGE_SIZE_4K
  746. default "16K" if BR2_ARM64_PAGE_SIZE_16K
  747. default "64K" if BR2_ARM64_PAGE_SIZE_64K
  748. config BR2_ARCH
  749. default "arm" if BR2_arm
  750. default "armeb" if BR2_armeb
  751. default "aarch64" if BR2_aarch64
  752. default "aarch64_be" if BR2_aarch64_be
  753. config BR2_NORMALIZED_ARCH
  754. default "arm" if BR2_arm || BR2_armeb
  755. default "arm64" if BR2_aarch64 || BR2_aarch64_be
  756. config BR2_ENDIAN
  757. default "LITTLE" if (BR2_arm || BR2_aarch64)
  758. default "BIG" if (BR2_armeb || BR2_aarch64_be)
  759. config BR2_GCC_TARGET_CPU
  760. # armv4
  761. default "arm920t" if BR2_arm920t
  762. default "arm922t" if BR2_arm922t
  763. default "fa526" if BR2_fa526
  764. default "strongarm" if BR2_strongarm
  765. # armv5
  766. default "arm926ej-s" if BR2_arm926t
  767. default "xscale" if BR2_xscale
  768. # armv6
  769. default "arm1136j-s" if BR2_arm1136j_s
  770. default "arm1136jf-s" if BR2_arm1136jf_s
  771. default "arm1176jz-s" if BR2_arm1176jz_s
  772. default "arm1176jzf-s" if BR2_arm1176jzf_s
  773. default "mpcore" if BR2_arm11mpcore && BR2_ARM_CPU_HAS_VFPV2
  774. default "mpcorenovfp" if BR2_arm11mpcore
  775. # armv7a
  776. default "cortex-a5" if BR2_cortex_a5
  777. default "cortex-a7" if BR2_cortex_a7
  778. default "cortex-a8" if BR2_cortex_a8
  779. default "cortex-a9" if BR2_cortex_a9
  780. default "cortex-a12" if BR2_cortex_a12
  781. default "cortex-a15" if BR2_cortex_a15
  782. default "cortex-a15.cortex-a7" if BR2_cortex_a15_a7
  783. default "cortex-a17" if BR2_cortex_a17
  784. default "cortex-a17.cortex-a7" if BR2_cortex_a17_a7
  785. default "marvell-pj4" if BR2_pj4
  786. # armv7m
  787. default "cortex-m3" if BR2_cortex_m3
  788. default "cortex-m4" if BR2_cortex_m4
  789. default "cortex-m7" if BR2_cortex_m7
  790. # armv8a
  791. default "cortex-a32" if BR2_cortex_a32
  792. default "cortex-a35" if BR2_cortex_a35
  793. default "cortex-a53" if BR2_cortex_a53
  794. default "cortex-a57" if BR2_cortex_a57
  795. default "cortex-a57.cortex-a53" if BR2_cortex_a57_a53
  796. default "cortex-a72" if BR2_cortex_a72
  797. default "cortex-a72.cortex-a53" if BR2_cortex_a72_a53
  798. default "cortex-a73" if BR2_cortex_a73
  799. default "cortex-a73.cortex-a35" if BR2_cortex_a73_a35
  800. default "cortex-a73.cortex-a53" if BR2_cortex_a73_a53
  801. default "emag" if BR2_emag
  802. default "exynos-m1" if BR2_exynos_m1
  803. default "falkor" if BR2_falkor
  804. default "phecda" if BR2_phecda
  805. default "qdf24xx" if BR2_qdf24xx
  806. default "thunderx" if BR2_thunderx && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
  807. default "octeontx" if BR2_thunderx && BR2_TOOLCHAIN_GCC_AT_LEAST_9
  808. default "thunderxt81" if BR2_thunderxt81 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
  809. default "octeontx81" if BR2_thunderxt81 && BR2_TOOLCHAIN_GCC_AT_LEAST_9
  810. default "thunderxt83" if BR2_thunderxt83 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
  811. default "octeontx83" if BR2_thunderxt83 && BR2_TOOLCHAIN_GCC_AT_LEAST_9
  812. default "thunderxt88" if BR2_thunderxt88
  813. default "thunderxt88p1" if BR2_thunderxt88p1
  814. default "xgene1" if BR2_xgene1
  815. # armv8.1a
  816. default "thunderx2t99" if BR2_thunderx2t99
  817. default "thunderx2t99p1" if BR2_thunderx2t99p1
  818. default "vulcan" if BR2_vulcan
  819. # armv8.2a
  820. default "cortex-a55" if BR2_cortex_a55
  821. default "cortex-a75" if BR2_cortex_a75
  822. default "cortex-a75.cortex-a55" if BR2_cortex_a75_a55
  823. default "cortex-a76" if BR2_cortex_a76
  824. default "cortex-a76.cortex-a55" if BR2_cortex_a76_a55
  825. default "cortex-a78" if BR2_cortex_a78
  826. default "neoverse-n1" if BR2_neoverse_n1
  827. default "tsv110" if BR2_tsv110
  828. # armv8.4a
  829. default "saphira" if BR2_saphira
  830. # armv9.0a
  831. default "cortex-a710" if BR2_cortex_a710
  832. default "neoverse-n2" if BR2_neoverse_n2
  833. config BR2_GCC_TARGET_ABI
  834. default "aapcs-linux" if BR2_arm || BR2_armeb
  835. default "lp64" if BR2_aarch64 || BR2_aarch64_be
  836. config BR2_GCC_TARGET_FPU
  837. default "vfp" if BR2_ARM_FPU_VFPV2
  838. default "vfpv3" if BR2_ARM_FPU_VFPV3
  839. default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
  840. default "vfpv4" if BR2_ARM_FPU_VFPV4
  841. default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16
  842. default "neon" if BR2_ARM_FPU_NEON
  843. default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
  844. default "fpv4-sp-d16" if BR2_ARM_FPU_FPV4D16
  845. default "fpv5-sp-d16" if BR2_ARM_FPU_FPV5D16
  846. default "fpv5-d16" if BR2_ARM_FPU_FPV5DPD16
  847. default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8
  848. default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8
  849. depends on BR2_arm || BR2_armeb
  850. config BR2_GCC_TARGET_FLOAT_ABI
  851. default "soft" if BR2_ARM_SOFT_FLOAT
  852. default "softfp" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABI
  853. default "hard" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABIHF
  854. config BR2_GCC_TARGET_MODE
  855. default "arm" if BR2_ARM_INSTRUCTIONS_ARM
  856. default "thumb" if BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2
  857. config BR2_READELF_ARCH_NAME
  858. default "ARM" if BR2_arm || BR2_armeb
  859. default "AArch64" if BR2_aarch64 || BR2_aarch64_be
  860. # vim: ft=kconfig
  861. # -*- mode:kconfig; -*-