imgtec-ci20: genimage config/ u-boot env
[openadk.git] / target / config / Config.in.cpu
blob4c9cd3b1b3ffd1701ef0199f2d91186d87f51251
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice ADK_TARGET_CPU
5 prompt "CPU" if !ADK_TARGET_CHOOSE_ARCH
7 # aarch64
8 config ADK_TARGET_CPU_AARCH64_CORTEX_A53
9         bool "cortex-a53"
10         select ADK_LINUX_64
11         select ADK_TARGET_SUPPORTS_THREADS
12         select ADK_TARGET_SUPPORTS_NPTL
13         select ADK_TARGET_WITH_MMU
14         depends on ADK_TARGET_ARCH_AARCH64
16 config ADK_TARGET_CPU_AARCH64_CORTEX_A57
17         bool "cortex-a57"
18         select ADK_LINUX_64
19         select ADK_TARGET_SUPPORTS_THREADS
20         select ADK_TARGET_SUPPORTS_NPTL
21         select ADK_TARGET_WITH_MMU
22         depends on ADK_TARGET_ARCH_AARCH64
24 config ADK_TARGET_CPU_AARCH64_CORTEX_A72
25         bool "cortex-a72"
26         select ADK_TARGET_SUPPORTS_THREADS
27         select ADK_TARGET_SUPPORTS_NPTL
28         select ADK_TARGET_SUPPORTS_LT
29         select ADK_TARGET_CPU_WITH_FPU_VFPV4
30         select ADK_TARGET_CPU_WITH_NEON
31         select ADK_TARGET_CPU_WITH_THUMB2
32         depends on ADK_TARGET_ARCH_AARCH64
34 config ADK_TARGET_CPU_AARCH64_CORTEX_A76
35         bool "cortex-a76"
36         select ADK_TARGET_SUPPORTS_THREADS
37         select ADK_TARGET_SUPPORTS_NPTL
38         select ADK_TARGET_SUPPORTS_LT
39         select ADK_TARGET_CPU_WITH_FPU_VFPV4
40         select ADK_TARGET_CPU_WITH_NEON
41         select ADK_TARGET_CPU_WITH_THUMB2
42         depends on ADK_TARGET_ARCH_AARCH64
44 # alpha
45 config ADK_TARGET_CPU_ALPHA_EV4
46         bool "ev4"
47         select ADK_LINUX_64
48         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
49         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
50         select ADK_TARGET_WITH_MMU
51         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
52         depends on ADK_TARGET_ARCH_ALPHA
54 config ADK_TARGET_CPU_ALPHA_EV5
55         bool "ev5"
56         select ADK_LINUX_64
57         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
58         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
59         select ADK_TARGET_WITH_MMU
60         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
61         depends on ADK_TARGET_ARCH_ALPHA
63 config ADK_TARGET_CPU_ALPHA_EV6
64         bool "ev6"
65         select ADK_LINUX_64
66         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
67         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
68         select ADK_TARGET_WITH_MMU
69         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
70         depends on ADK_TARGET_ARCH_ALPHA
72 config ADK_TARGET_CPU_ALPHA_EV67
73         bool "ev67"
74         select ADK_LINUX_64
75         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
76         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
77         select ADK_TARGET_WITH_MMU
78         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
79         depends on ADK_TARGET_ARCH_ALPHA
81 # arc
82 config ADK_TARGET_CPU_ARC_ARC700
83         bool "ARC700 (ARCv1)"
84         select ADK_TARGET_SUPPORTS_THREADS
85         select ADK_TARGET_SUPPORTS_NPTL
86         select ADK_TARGET_SUPPORTS_LT
87         select ADK_TARGET_WITH_MMU
88         depends on ADK_TARGET_ARCH_ARC
90 config ADK_TARGET_CPU_ARC_ARCHS
91         bool "ARC HS38 (ARCv2)"
92         select ADK_TARGET_SUPPORTS_THREADS
93         select ADK_TARGET_SUPPORTS_NPTL
94         select ADK_TARGET_SUPPORTS_LT
95         select ADK_TARGET_WITH_MMU
96         depends on ADK_TARGET_ARCH_ARC
98 config ADK_TARGET_CPU_ARC_ARC32
99         bool "ARC HS58 (ARCv3) 32 Bit"
100         select ADK_TARGET_SUPPORTS_THREADS
101         select ADK_TARGET_SUPPORTS_NPTL
102         select ADK_TARGET_SUPPORTS_LT
103         select ADK_TARGET_WITH_MMU
104         select ADK_TARGET_KERNEL_LOADER
105         depends on ADK_TARGET_ARCH_ARC
107 config ADK_TARGET_CPU_ARC_ARC64
108         bool "ARC HS68 (ARCv3) 64 Bit"
109         select ADK_TARGET_SUPPORTS_THREADS
110         select ADK_TARGET_SUPPORTS_NPTL
111         select ADK_TARGET_SUPPORTS_LT
112         select ADK_TARGET_WITH_MMU
113         select ADK_TARGET_KERNEL_LOADER
114         depends on ADK_TARGET_ARCH_ARC
116 # arm
117 config ADK_TARGET_CPU_ARM_ARM920T
118         bool "arm920t"
119         select ADK_TARGET_SUPPORTS_THREADS
120         select ADK_TARGET_SUPPORTS_NPTL
121         select ADK_TARGET_SUPPORTS_LT
122         select ADK_TARGET_CPU_WITH_THUMB
123         depends on ADK_TARGET_ARCH_ARM
125 config ADK_TARGET_CPU_ARM_ARM1176JZF_S
126         bool "arm1176jzf-s"
127         select ADK_TARGET_SUPPORTS_THREADS
128         select ADK_TARGET_SUPPORTS_NPTL
129         select ADK_TARGET_SUPPORTS_LT
130         select ADK_TARGET_CPU_WITH_FPU_VFP
131         depends on ADK_TARGET_ARCH_ARM
133 config ADK_TARGET_CPU_ARM_ARM926EJ_S
134         bool "arm926ej-s"
135         select ADK_TARGET_SUPPORTS_THREADS
136         select ADK_TARGET_SUPPORTS_NPTL
137         select ADK_TARGET_SUPPORTS_LT
138         select ADK_TARGET_CPU_WITH_THUMB
139         select ADK_TARGET_CPU_WITH_FPU_VFP
140         depends on ADK_TARGET_ARCH_ARM
142 config ADK_TARGET_CPU_ARM_ARM11MPCORE
143         bool "arm11mpcore"
144         select ADK_TARGET_SUPPORTS_THREADS
145         select ADK_TARGET_SUPPORTS_NPTL
146         select ADK_TARGET_SUPPORTS_LT
147         select ADK_TARGET_CPU_WITH_FPU_VFPV3
148         depends on ADK_TARGET_ARCH_ARM
150 config ADK_TARGET_CPU_ARM_CORTEX_A5
151         bool "cortex-a5"
152         select ADK_TARGET_SUPPORTS_THREADS
153         select ADK_TARGET_SUPPORTS_NPTL
154         select ADK_TARGET_SUPPORTS_LT
155         select ADK_TARGET_CPU_WITH_FPU_VFPV3
156         select ADK_TARGET_CPU_WITH_NEON
157         select ADK_TARGET_CPU_WITH_THUMB2
158         depends on ADK_TARGET_ARCH_ARM
160 config ADK_TARGET_CPU_ARM_CORTEX_A7
161         bool "cortex-a7"
162         select ADK_TARGET_SUPPORTS_THREADS
163         select ADK_TARGET_SUPPORTS_NPTL
164         select ADK_TARGET_SUPPORTS_LT
165         select ADK_TARGET_CPU_WITH_FPU_VFPV4
166         select ADK_TARGET_CPU_WITH_NEON
167         select ADK_TARGET_CPU_WITH_THUMB2
168         depends on ADK_TARGET_ARCH_ARM
170 config ADK_TARGET_CPU_ARM_CORTEX_A8
171         bool "cortex-a8"
172         select ADK_TARGET_SUPPORTS_THREADS
173         select ADK_TARGET_SUPPORTS_NPTL
174         select ADK_TARGET_SUPPORTS_LT
175         select ADK_TARGET_CPU_WITH_FPU_VFPV3
176         select ADK_TARGET_CPU_WITH_NEON
177         select ADK_TARGET_CPU_WITH_THUMB2
178         depends on ADK_TARGET_ARCH_ARM
180 config ADK_TARGET_CPU_ARM_CORTEX_A9
181         bool "cortex-a9"
182         select ADK_TARGET_SUPPORTS_THREADS
183         select ADK_TARGET_SUPPORTS_NPTL
184         select ADK_TARGET_SUPPORTS_LT
185         select ADK_TARGET_CPU_WITH_FPU_VFPV3
186         select ADK_TARGET_CPU_WITH_NEON
187         select ADK_TARGET_CPU_WITH_THUMB2
188         depends on ADK_TARGET_ARCH_ARM
190 config ADK_TARGET_CPU_ARM_CORTEX_A15
191         bool "cortex-a15"
192         select ADK_TARGET_SUPPORTS_THREADS
193         select ADK_TARGET_SUPPORTS_NPTL
194         select ADK_TARGET_SUPPORTS_LT
195         select ADK_TARGET_CPU_WITH_FPU_VFPV4
196         select ADK_TARGET_CPU_WITH_NEON
197         depends on ADK_TARGET_ARCH_ARM
199 config ADK_TARGET_CPU_ARM_CORTEX_A17
200         bool "cortex-a17"
201         select ADK_TARGET_SUPPORTS_THREADS
202         select ADK_TARGET_SUPPORTS_NPTL
203         select ADK_TARGET_SUPPORTS_LT
204         select ADK_TARGET_CPU_WITH_FPU_VFPV4
205         select ADK_TARGET_CPU_WITH_NEON
206         depends on ADK_TARGET_ARCH_ARM
208 config ADK_TARGET_CPU_ARM_CORTEX_A53
209         bool "cortex-a53"
210         select ADK_TARGET_SUPPORTS_THREADS
211         select ADK_TARGET_SUPPORTS_NPTL
212         select ADK_TARGET_SUPPORTS_LT
213         select ADK_TARGET_CPU_WITH_FPU_VFPV4
214         select ADK_TARGET_CPU_WITH_NEON
215         select ADK_TARGET_CPU_WITH_THUMB2
216         depends on ADK_TARGET_ARCH_ARM
218 config ADK_TARGET_CPU_ARM_CORTEX_A57
219         bool "cortex-a57"
220         select ADK_TARGET_SUPPORTS_THREADS
221         select ADK_TARGET_SUPPORTS_NPTL
222         select ADK_TARGET_SUPPORTS_LT
223         select ADK_TARGET_CPU_WITH_FPU_VFPV4
224         select ADK_TARGET_CPU_WITH_NEON
225         select ADK_TARGET_CPU_WITH_THUMB2
226         depends on ADK_TARGET_ARCH_ARM
228 config ADK_TARGET_CPU_ARM_CORTEX_A72
229         bool "cortex-a72"
230         select ADK_TARGET_SUPPORTS_THREADS
231         select ADK_TARGET_SUPPORTS_NPTL
232         select ADK_TARGET_SUPPORTS_LT
233         select ADK_TARGET_CPU_WITH_FPU_VFPV4
234         select ADK_TARGET_CPU_WITH_NEON
235         select ADK_TARGET_CPU_WITH_THUMB2
236         depends on ADK_TARGET_ARCH_ARM
238 config ADK_TARGET_CPU_ARM_CORTEX_M7
239         bool "cortex-m7"
240         select ADK_TARGET_SUPPORTS_NPTL
241         select ADK_TARGET_SUPPORTS_THREADS
242         select ADK_TARGET_SUPPORTS_LT
243         select ADK_TARGET_CPU_WITH_THUMB2
244         select ADK_TARGET_CPU_WITH_FPU_FPV5
245         depends on ADK_TARGET_ARCH_ARM
247 config ADK_TARGET_CPU_ARM_CORTEX_M4
248         bool "cortex-m4"
249         select ADK_TARGET_SUPPORTS_NPTL
250         select ADK_TARGET_SUPPORTS_THREADS
251         select ADK_TARGET_SUPPORTS_LT
252         select ADK_TARGET_CPU_WITH_THUMB2
253         select ADK_TARGET_CPU_WITH_FPU_FPV4
254         depends on ADK_TARGET_ARCH_ARM
256 config ADK_TARGET_CPU_ARM_CORTEX_M3
257         bool "cortex-m3"
258         select ADK_TARGET_SUPPORTS_NPTL
259         select ADK_TARGET_SUPPORTS_THREADS
260         select ADK_TARGET_SUPPORTS_LT
261         select ADK_TARGET_CPU_WITH_THUMB2
262         depends on ADK_TARGET_ARCH_ARM
264 config ADK_TARGET_CPU_ARM_CORTEX_M0
265         bool "cortex-m0"
266         select ADK_TARGET_SUPPORTS_THREADS
267         select ADK_TARGET_SUPPORTS_LT
268         select ADK_TARGET_CPU_WITH_THUMB2
269         depends on ADK_TARGET_ARCH_ARM
271 config ADK_TARGET_CPU_ARM_XSCALE
272         bool "xscale"
273         select ADK_TARGET_SUPPORTS_THREADS
274         select ADK_TARGET_SUPPORTS_NPTL
275         select ADK_TARGET_SUPPORTS_LT
276         depends on ADK_TARGET_ARCH_ARM
278 config ADK_TARGET_CPU_ARM_MVEBU
279         bool "mvebu"
280         select ADK_TARGET_SUPPORTS_THREADS
281         select ADK_TARGET_SUPPORTS_NPTL
282         select ADK_TARGET_WITH_MMU
283         select ADK_TARGET_CPU_WITH_FPU_VFPV3
284         select ADK_TARGET_SOFTFP_FLOAT
285         depends on ADK_TARGET_ARCH_ARM
287 # avr32
288 config ADK_TARGET_CPU_AVR32
289         bool "avr32"
290         select ADK_TARGET_SUPPORTS_THREADS
291         select ADK_TARGET_SUPPORTS_LT
292         select ADK_TARGET_WITH_MMU
293         depends on ADK_TARGET_ARCH_AVR32
295 # bfin
296 config ADK_TARGET_CPU_BFIN_BF512
297         bool "bf512"
298         select ADK_TARGET_SUPPORTS_THREADS
299         select ADK_TARGET_SUPPORTS_LT
300         depends on ADK_TARGET_ARCH_BFIN
302 config ADK_TARGET_CPU_BFIN_BF514
303         bool "bf514"
304         select ADK_TARGET_SUPPORTS_THREADS
305         select ADK_TARGET_SUPPORTS_LT
306         depends on ADK_TARGET_ARCH_BFIN
308 config ADK_TARGET_CPU_BFIN_BF516
309         bool "bf516"
310         select ADK_TARGET_SUPPORTS_THREADS
311         select ADK_TARGET_SUPPORTS_LT
312         depends on ADK_TARGET_ARCH_BFIN
314 config ADK_TARGET_CPU_BFIN_BF518
315         bool "bf518"
316         select ADK_TARGET_SUPPORTS_THREADS
317         select ADK_TARGET_SUPPORTS_LT
318         depends on ADK_TARGET_ARCH_BFIN
320 config ADK_TARGET_CPU_BFIN_BF522
321         bool "bf522"
322         select ADK_TARGET_SUPPORTS_THREADS
323         select ADK_TARGET_SUPPORTS_LT
324         depends on ADK_TARGET_ARCH_BFIN
326 config ADK_TARGET_CPU_BFIN_BF523
327         bool "bf523"
328         select ADK_TARGET_SUPPORTS_THREADS
329         select ADK_TARGET_SUPPORTS_LT
330         depends on ADK_TARGET_ARCH_BFIN
332 config ADK_TARGET_CPU_BFIN_BF524
333         bool "bf524"
334         select ADK_TARGET_SUPPORTS_THREADS
335         select ADK_TARGET_SUPPORTS_LT
336         depends on ADK_TARGET_ARCH_BFIN
338 config ADK_TARGET_CPU_BFIN_BF525
339         bool "bf525"
340         select ADK_TARGET_SUPPORTS_THREADS
341         select ADK_TARGET_SUPPORTS_LT
342         depends on ADK_TARGET_ARCH_BFIN
344 config ADK_TARGET_CPU_BFIN_BF526
345         bool "bf526"
346         select ADK_TARGET_SUPPORTS_THREADS
347         select ADK_TARGET_SUPPORTS_LT
348         depends on ADK_TARGET_ARCH_BFIN
350 config ADK_TARGET_CPU_BFIN_BF527
351         bool "bf527"
352         select ADK_TARGET_SUPPORTS_THREADS
353         select ADK_TARGET_SUPPORTS_LT
354         depends on ADK_TARGET_ARCH_BFIN
356 config ADK_TARGET_CPU_BFIN_BF531
357         bool "bf531"
358         select ADK_TARGET_SUPPORTS_THREADS
359         select ADK_TARGET_SUPPORTS_LT
360         depends on ADK_TARGET_ARCH_BFIN
362 config ADK_TARGET_CPU_BFIN_BF532
363         bool "bf532"
364         select ADK_TARGET_SUPPORTS_THREADS
365         select ADK_TARGET_SUPPORTS_LT
366         depends on ADK_TARGET_ARCH_BFIN
368 config ADK_TARGET_CPU_BFIN_BF533
369         bool "bf533"
370         select ADK_TARGET_SUPPORTS_THREADS
371         select ADK_TARGET_SUPPORTS_LT
372         depends on ADK_TARGET_ARCH_BFIN
374 config ADK_TARGET_CPU_BFIN_BF534
375         bool "bf534"
376         select ADK_TARGET_SUPPORTS_THREADS
377         select ADK_TARGET_SUPPORTS_LT
378         depends on ADK_TARGET_ARCH_BFIN
380 config ADK_TARGET_CPU_BFIN_BF536
381         bool "bf536"
382         select ADK_TARGET_SUPPORTS_THREADS
383         select ADK_TARGET_SUPPORTS_LT
384         depends on ADK_TARGET_ARCH_BFIN
386 config ADK_TARGET_CPU_BFIN_BF537
387         bool "bf537"
388         select ADK_TARGET_SUPPORTS_THREADS
389         select ADK_TARGET_SUPPORTS_LT
390         depends on ADK_TARGET_ARCH_BFIN
392 config ADK_TARGET_CPU_BFIN_BF538
393         bool "bf538"
394         select ADK_TARGET_SUPPORTS_THREADS
395         select ADK_TARGET_SUPPORTS_LT
396         depends on ADK_TARGET_ARCH_BFIN
398 config ADK_TARGET_CPU_BFIN_BF539
399         bool "bf539"
400         select ADK_TARGET_SUPPORTS_THREADS
401         select ADK_TARGET_SUPPORTS_LT
402         depends on ADK_TARGET_ARCH_BFIN
404 config ADK_TARGET_CPU_BFIN_BF542
405         bool "bf542"
406         select ADK_TARGET_SUPPORTS_THREADS
407         select ADK_TARGET_SUPPORTS_LT
408         depends on ADK_TARGET_ARCH_BFIN
410 config ADK_TARGET_CPU_BFIN_BF544
411         bool "bf544"
412         select ADK_TARGET_SUPPORTS_THREADS
413         select ADK_TARGET_SUPPORTS_LT
414         depends on ADK_TARGET_ARCH_BFIN
416 config ADK_TARGET_CPU_BFIN_BF547
417         bool "bf547"
418         select ADK_TARGET_SUPPORTS_THREADS
419         select ADK_TARGET_SUPPORTS_LT
420         depends on ADK_TARGET_ARCH_BFIN
422 config ADK_TARGET_CPU_BFIN_BF548
423         bool "bf548"
424         select ADK_TARGET_SUPPORTS_THREADS
425         select ADK_TARGET_SUPPORTS_LT
426         depends on ADK_TARGET_ARCH_BFIN
428 config ADK_TARGET_CPU_BFIN_BF549
429         bool "bf549"
430         select ADK_TARGET_SUPPORTS_THREADS
431         select ADK_TARGET_SUPPORTS_LT
432         depends on ADK_TARGET_ARCH_BFIN
434 config ADK_TARGET_CPU_BFIN_BF542M
435         bool "bf542m"
436         select ADK_TARGET_SUPPORTS_THREADS
437         select ADK_TARGET_SUPPORTS_LT
438         depends on ADK_TARGET_ARCH_BFIN
440 config ADK_TARGET_CPU_BFIN_BF544M
441         bool "bf544m"
442         select ADK_TARGET_SUPPORTS_THREADS
443         select ADK_TARGET_SUPPORTS_LT
444         depends on ADK_TARGET_ARCH_BFIN
446 config ADK_TARGET_CPU_BFIN_BF547M
447         bool "bf547m"
448         select ADK_TARGET_SUPPORTS_THREADS
449         select ADK_TARGET_SUPPORTS_LT
450         depends on ADK_TARGET_ARCH_BFIN
452 config ADK_TARGET_CPU_BFIN_BF548M
453         bool "bf548m"
454         select ADK_TARGET_SUPPORTS_THREADS
455         select ADK_TARGET_SUPPORTS_LT
456         depends on ADK_TARGET_ARCH_BFIN
458 config ADK_TARGET_CPU_BFIN_BF549M
459         bool "bf549m"
460         select ADK_TARGET_SUPPORTS_THREADS
461         select ADK_TARGET_SUPPORTS_LT
462         depends on ADK_TARGET_ARCH_BFIN
464 config ADK_TARGET_CPU_BFIN_BF561
465         bool "bf561"
466         select ADK_TARGET_SUPPORTS_THREADS
467         select ADK_TARGET_SUPPORTS_LT
468         depends on ADK_TARGET_ARCH_BFIN
470 config ADK_TARGET_CPU_BFIN_BF592
471         bool "bf592"
472         select ADK_TARGET_SUPPORTS_THREADS
473         select ADK_TARGET_SUPPORTS_LT
474         depends on ADK_TARGET_ARCH_BFIN
476 # c6x
477 config ADK_TARGET_CPU_C6X
478         bool "c6x"
479         select ADK_TARGET_SUPPORTS_THREADS
480         select ADK_TARGET_SUPPORTS_LT
481         select ADK_TARGET_UCLINUX
482         depends on ADK_TARGET_ARCH_C6X
484 # cr16
485 config ADK_TARGET_CPU_CR16
486         bool "cr16"
487         depends on ADK_TARGET_ARCH_CR16
489 # cris
490 config ADK_TARGET_CPU_CRIS_CRISV10
491         bool "crisv10"
492         select ADK_TARGET_SUPPORTS_THREADS
493         select ADK_TARGET_SUPPORTS_LT
494         select ADK_TARGET_WITH_MMU
495         depends on ADK_TARGET_ARCH_CRIS
497 config ADK_TARGET_CPU_CRIS_CRISV32
498         bool "crisv32"
499         select ADK_TARGET_SUPPORTS_THREADS
500         select ADK_TARGET_SUPPORTS_LT
501         select ADK_TARGET_WITH_MMU
502         depends on ADK_TARGET_ARCH_CRIS
504 # c-sky
505 config ADK_TARGET_CPU_CSKY_CK807
506         bool "ck807"
507         select ADK_TARGET_SUPPORTS_THREADS
508         select ADK_TARGET_SUPPORTS_NPTL
509         select ADK_TARGET_WITH_MMU
510         depends on ADK_TARGET_ARCH_CSKY
512 config ADK_TARGET_CPU_CSKY_CK807F
513         bool "ck807f"
514         select ADK_TARGET_SUPPORTS_THREADS
515         select ADK_TARGET_SUPPORTS_NPTL
516         select ADK_TARGET_WITH_MMU
517         select ADK_TARGET_CPU_WITH_FPU
518         depends on ADK_TARGET_ARCH_CSKY
520 config ADK_TARGET_CPU_CSKY_CK810
521         bool "ck810"
522         select ADK_TARGET_SUPPORTS_THREADS
523         select ADK_TARGET_SUPPORTS_NPTL
524         select ADK_TARGET_WITH_MMU
525         depends on ADK_TARGET_ARCH_CSKY
527 config ADK_TARGET_CPU_CSKY_CK810F
528         bool "ck810f"
529         select ADK_TARGET_SUPPORTS_THREADS
530         select ADK_TARGET_SUPPORTS_NPTL
531         select ADK_TARGET_WITH_MMU
532         select ADK_TARGET_CPU_WITH_FPU
533         depends on ADK_TARGET_ARCH_CSKY
535 # epiphany
536 config ADK_TARGET_CPU_EPIPHANY
537         bool "epiphany"
538         select ADK_TARGET_WITH_MMU
539         depends on ADK_TARGET_ARCH_EPIPHANY
541 # fr-v
542 config ADK_TARGET_CPU_FRV
543         bool "fr-v"
544         depends on ADK_TARGET_ARCH_FRV
546 # ft32
547 config ADK_TARGET_CPU_FT32
548         bool "ft32"
549         depends on ADK_TARGET_ARCH_FT32
551 # h8/300
552 config ADK_TARGET_CPU_H8300H
553         bool "h8300h"
554         depends on ADK_TARGET_ARCH_H8300
556 config ADK_TARGET_CPU_H8S
557         bool "h8s"
558         depends on ADK_TARGET_ARCH_H8300
560 # hppa
561 config ADK_TARGET_CPU_PARISC
562         bool "parisc"
563         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
564         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
565         select ADK_TARGET_WITH_MMU
566         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
567         depends on ADK_TARGET_ARCH_HPPA
569 # ia64
570 config ADK_TARGET_CPU_IA64
571         bool "ia64"
572         select ADK_TARGET_SUPPORTS_THREADS
573         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
574         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
575         select ADK_TARGET_WITH_MMU
576         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
577         depends on ADK_TARGET_ARCH_IA64
579 # kvx
580 config ADK_TARGET_CPU_KVX
581         bool "kvx"
582         select ADK_TARGET_SUPPORTS_THREADS
583         select ADK_TARGET_SUPPORTS_NPTL
584         select ADK_TARGET_WITH_MMU
585         depends on ADK_TARGET_ARCH_KVX
587 # lm32
588 config ADK_TARGET_CPU_LM32
589         bool "lm32"
590         select ADK_TARGET_UCLINUX
591         depends on ADK_TARGET_ARCH_LM32
593 # loongarch
594 config ADK_TARGET_CPU_LOONGARCH
595         bool "loongarch64"
596         select ADK_TARGET_SUPPORTS_THREADS
597         select ADK_TARGET_SUPPORTS_NPTL
598         select ADK_TARGET_WITH_MMU
599         depends on ADK_TARGET_ARCH_LOONGARCH
601 # coldfire
602 config ADK_TARGET_CPU_CF_51
603         bool "coldfire 51"
604         select ADK_TARGET_SUPPORTS_THREADS
605         select ADK_TARGET_SUPPORTS_LT
606         select ADK_TARGET_CPU_CF
607         select ADK_TARGET_UCLINUX
608         depends on ADK_TARGET_ARCH_M68K
610 config ADK_TARGET_CPU_CF_5206
611         bool "coldfire 5206"
612         select ADK_TARGET_SUPPORTS_THREADS
613         select ADK_TARGET_SUPPORTS_LT
614         select ADK_TARGET_CPU_CF
615         select ADK_TARGET_UCLINUX
616         depends on ADK_TARGET_ARCH_M68K
618 config ADK_TARGET_CPU_CF_5206E
619         bool "coldfire 5206e"
620         select ADK_TARGET_SUPPORTS_THREADS
621         select ADK_TARGET_SUPPORTS_LT
622         select ADK_TARGET_CPU_CF
623         select ADK_TARGET_UCLINUX
624         depends on ADK_TARGET_ARCH_M68K
626 config ADK_TARGET_CPU_CF_5208
627         bool "coldfire 5208"
628         select ADK_TARGET_SUPPORTS_THREADS
629         select ADK_TARGET_SUPPORTS_LT
630         select ADK_TARGET_SUPPORTS_NPTL
631         select ADK_TARGET_CPU_CF
632         depends on ADK_TARGET_ARCH_M68K
634 config ADK_TARGET_CPU_CF_5211A
635         bool "coldfire 5211a"
636         select ADK_TARGET_SUPPORTS_THREADS
637         select ADK_TARGET_SUPPORTS_LT
638         select ADK_TARGET_CPU_CF
639         select ADK_TARGET_UCLINUX
640         depends on ADK_TARGET_ARCH_M68K
642 config ADK_TARGET_CPU_CF_5213
643         bool "coldfire 5213"
644         select ADK_TARGET_SUPPORTS_THREADS
645         select ADK_TARGET_SUPPORTS_LT
646         select ADK_TARGET_CPU_CF
647         select ADK_TARGET_UCLINUX
648         depends on ADK_TARGET_ARCH_M68K
650 config ADK_TARGET_CPU_CF_5216
651         bool "coldfire 5216"
652         select ADK_TARGET_SUPPORTS_THREADS
653         select ADK_TARGET_SUPPORTS_LT
654         select ADK_TARGET_CPU_CF
655         select ADK_TARGET_UCLINUX
656         depends on ADK_TARGET_ARCH_M68K
658 config ADK_TARGET_CPU_CF_52235
659         bool "coldfire 52235"
660         select ADK_TARGET_SUPPORTS_THREADS
661         select ADK_TARGET_SUPPORTS_LT
662         select ADK_TARGET_CPU_CF
663         select ADK_TARGET_UCLINUX
664         depends on ADK_TARGET_ARCH_M68K
666 config ADK_TARGET_CPU_CF_5225
667         bool "coldfire 5225"
668         select ADK_TARGET_SUPPORTS_THREADS
669         select ADK_TARGET_SUPPORTS_LT
670         select ADK_TARGET_CPU_CF
671         select ADK_TARGET_UCLINUX
672         depends on ADK_TARGET_ARCH_M68K
674 config ADK_TARGET_CPU_CF_52259
675         bool "coldfire 52259"
676         select ADK_TARGET_SUPPORTS_THREADS
677         select ADK_TARGET_SUPPORTS_LT
678         select ADK_TARGET_CPU_CF
679         select ADK_TARGET_UCLINUX
680         depends on ADK_TARGET_ARCH_M68K
682 config ADK_TARGET_CPU_CF_5235
683         bool "coldfire 5235"
684         select ADK_TARGET_SUPPORTS_THREADS
685         select ADK_TARGET_SUPPORTS_LT
686         select ADK_TARGET_CPU_CF
687         select ADK_TARGET_UCLINUX
688         depends on ADK_TARGET_ARCH_M68K
690 config ADK_TARGET_CPU_CF_5249
691         bool "coldfire 5249"
692         select ADK_TARGET_SUPPORTS_THREADS
693         select ADK_TARGET_SUPPORTS_LT
694         select ADK_TARGET_CPU_CF
695         select ADK_TARGET_UCLINUX
696         depends on ADK_TARGET_ARCH_M68K
698 config ADK_TARGET_CPU_CF_5250
699         bool "coldfire 5250"
700         select ADK_TARGET_SUPPORTS_THREADS
701         select ADK_TARGET_SUPPORTS_LT
702         select ADK_TARGET_CPU_CF
703         select ADK_TARGET_UCLINUX
704         depends on ADK_TARGET_ARCH_M68K
706 config ADK_TARGET_CPU_CF_5271
707         bool "coldfire 5271"
708         select ADK_TARGET_SUPPORTS_THREADS
709         select ADK_TARGET_SUPPORTS_LT
710         select ADK_TARGET_CPU_CF
711         select ADK_TARGET_UCLINUX
712         depends on ADK_TARGET_ARCH_M68K
714 config ADK_TARGET_CPU_CF_5272
715         bool "coldfire 5272"
716         select ADK_TARGET_SUPPORTS_THREADS
717         select ADK_TARGET_SUPPORTS_LT
718         select ADK_TARGET_CPU_CF
719         select ADK_TARGET_UCLINUX
720         depends on ADK_TARGET_ARCH_M68K
722 config ADK_TARGET_CPU_CF_5275
723         bool "coldfire 5275"
724         select ADK_TARGET_SUPPORTS_THREADS
725         select ADK_TARGET_SUPPORTS_LT
726         select ADK_TARGET_CPU_CF
727         select ADK_TARGET_UCLINUX
728         depends on ADK_TARGET_ARCH_M68K
730 config ADK_TARGET_CPU_CF_5282
731         bool "coldfire 5282"
732         select ADK_TARGET_SUPPORTS_THREADS
733         select ADK_TARGET_SUPPORTS_LT
734         select ADK_TARGET_CPU_CF
735         select ADK_TARGET_UCLINUX
736         depends on ADK_TARGET_ARCH_M68K
738 config ADK_TARGET_CPU_CF_53017
739         bool "coldfire 53017"
740         select ADK_TARGET_SUPPORTS_THREADS
741         select ADK_TARGET_SUPPORTS_LT
742         select ADK_TARGET_CPU_CF
743         select ADK_TARGET_UCLINUX
744         depends on ADK_TARGET_ARCH_M68K
746 config ADK_TARGET_CPU_CF_5307
747         bool "coldfire 5307"
748         select ADK_TARGET_SUPPORTS_THREADS
749         select ADK_TARGET_SUPPORTS_LT
750         select ADK_TARGET_CPU_CF
751         select ADK_TARGET_UCLINUX
752         depends on ADK_TARGET_ARCH_M68K
754 config ADK_TARGET_CPU_CF_5328
755         bool "coldfire 5328"
756         select ADK_TARGET_SUPPORTS_THREADS
757         select ADK_TARGET_SUPPORTS_LT
758         select ADK_TARGET_CPU_CF
759         select ADK_TARGET_UCLINUX
760         depends on ADK_TARGET_ARCH_M68K
762 config ADK_TARGET_CPU_CF_5329
763         bool "coldfire 5329"
764         select ADK_TARGET_SUPPORTS_THREADS
765         select ADK_TARGET_SUPPORTS_LT
766         select ADK_TARGET_CPU_CF
767         select ADK_TARGET_UCLINUX
768         depends on ADK_TARGET_ARCH_M68K
770 config ADK_TARGET_CPU_CF_5373
771         bool "coldfire 5373"
772         select ADK_TARGET_SUPPORTS_THREADS
773         select ADK_TARGET_SUPPORTS_LT
774         select ADK_TARGET_CPU_CF
775         select ADK_TARGET_UCLINUX
776         depends on ADK_TARGET_ARCH_M68K
778 config ADK_TARGET_CPU_CF_5407
779         bool "coldfire 5407"
780         select ADK_TARGET_SUPPORTS_THREADS
781         select ADK_TARGET_SUPPORTS_LT
782         select ADK_TARGET_CPU_CF
783         select ADK_TARGET_UCLINUX
784         depends on ADK_TARGET_ARCH_M68K
786 config ADK_TARGET_CPU_CF_5475
787         bool "coldfire 5475"
788         select ADK_TARGET_SUPPORTS_THREADS
789         select ADK_TARGET_SUPPORTS_LT
790         select ADK_TARGET_CPU_CF
791         select ADK_TARGET_WITH_MMU
792         depends on ADK_TARGET_ARCH_M68K
794 config ADK_TARGET_CPU_CF_54418
795         bool "coldfire 54418"
796         select ADK_TARGET_SUPPORTS_THREADS
797         select ADK_TARGET_SUPPORTS_NPTL
798         select ADK_TARGET_SUPPORTS_LT
799         select ADK_TARGET_CPU_CF
800         select ADK_TARGET_WITH_MMU
801         depends on ADK_TARGET_ARCH_M68K
803 # m32c
804 config ADK_TARGET_CPU_M32C
805         bool "m32c"
806         select ADK_TARGET_WITH_MMU
807         depends on ADK_TARGET_ARCH_M32C
809 # m32r
810 config ADK_TARGET_CPU_M32R
811         bool "m32r"
812         select ADK_TARGET_WITH_MMU
813         depends on ADK_TARGET_ARCH_M32R
815 # m68k
816 config ADK_TARGET_CPU_M68K_68000
817         bool "68000"
818         select ADK_TARGET_SUPPORTS_THREADS
819         select ADK_TARGET_SUPPORTS_LT
820         depends on ADK_TARGET_ARCH_M68K
822 config ADK_TARGET_CPU_M68K_68020
823         bool "68020"
824         select ADK_TARGET_SUPPORTS_THREADS
825         select ADK_TARGET_SUPPORTS_LT
826         select ADK_TARGET_SUPPORTS_NPTL
827         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
828         depends on ADK_TARGET_ARCH_M68K
830 config ADK_TARGET_CPU_M68K_68030
831         bool "68030"
832         select ADK_TARGET_SUPPORTS_THREADS
833         select ADK_TARGET_SUPPORTS_LT
834         select ADK_TARGET_SUPPORTS_NPTL
835         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
836         depends on ADK_TARGET_ARCH_M68K
838 config ADK_TARGET_CPU_M68K_68040
839         bool "68040"
840         select ADK_TARGET_SUPPORTS_THREADS
841         select ADK_TARGET_SUPPORTS_LT
842         select ADK_TARGET_SUPPORTS_NPTL
843         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
844         select ADK_TARGET_CPU_WITH_FPU
845         depends on ADK_TARGET_ARCH_M68K
847 config ADK_TARGET_CPU_M68K_68060
848         bool "68060"
849         select ADK_TARGET_SUPPORTS_THREADS
850         select ADK_TARGET_SUPPORTS_LT
851         select ADK_TARGET_SUPPORTS_NPTL
852         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
853         depends on ADK_TARGET_ARCH_M68K
855 # metag
856 config ADK_TARGET_CPU_METAG
857         bool "metag"
858         select ADK_TARGET_SUPPORTS_THREADS
859         select ADK_TARGET_SUPPORTS_LT
860         select ADK_TARGET_SUPPORTS_NPTL
861         select ADK_TARGET_WITH_MMU
862         depends on ADK_TARGET_ARCH_METAG
864 # microblaze
865 config ADK_TARGET_CPU_MICROBLAZE
866         bool "microblaze"
867         select ADK_TARGET_SUPPORTS_THREADS
868         select ADK_TARGET_SUPPORTS_LT
869         select ADK_TARGET_SUPPORTS_NPTL
870         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
871         depends on ADK_TARGET_ARCH_MICROBLAZE
873 # mips32
874 config ADK_TARGET_CPU_MIPS_MIPS32
875         bool "mips32"
876         select ADK_TARGET_SUPPORTS_THREADS
877         select ADK_TARGET_SUPPORTS_LT
878         select ADK_TARGET_SUPPORTS_NPTL
879         select ADK_TARGET_WITH_MMU
880         select ADK_TARGET_CPU_WITH_FPU
881         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
882         select ADK_LINUX_KERNEL_CPU_MIPS32_R1 if ADK_TARGET_OS_LINUX
883         depends on ADK_TARGET_ARCH_MIPS
885 config ADK_TARGET_CPU_MIPS_MIPS32R2
886         bool "mips32r2"
887         select ADK_TARGET_SUPPORTS_THREADS
888         select ADK_TARGET_SUPPORTS_LT
889         select ADK_TARGET_SUPPORTS_NPTL
890         select ADK_TARGET_WITH_MMU
891         select ADK_TARGET_CPU_WITH_FPU
892         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
893         select ADK_LINUX_KERNEL_CPU_MIPS32_R2 if ADK_TARGET_OS_LINUX
894         depends on ADK_TARGET_ARCH_MIPS
896 config ADK_TARGET_CPU_MIPS_MIPS32R6
897         bool "mips32r6"
898         select ADK_TARGET_SUPPORTS_THREADS
899         select ADK_TARGET_SUPPORTS_LT
900         select ADK_TARGET_SUPPORTS_NPTL
901         select ADK_TARGET_WITH_MMU
902         select ADK_TARGET_CPU_WITH_FPU
903         select ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
904         select ADK_LINUX_KERNEL_CPU_MIPS32_R6 if ADK_TARGET_OS_LINUX
905         depends on ADK_TARGET_ARCH_MIPS
907 config ADK_TARGET_CPU_MIPS_R4400
908         bool "r4400"
909         select ADK_TARGET_SUPPORTS_THREADS
910         select ADK_TARGET_SUPPORTS_LT
911         select ADK_TARGET_SUPPORTS_NPTL
912         select ADK_TARGET_WITH_MMU
913         select ADK_TARGET_CPU_WITH_FPU
914         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
915         depends on ADK_TARGET_ARCH_MIPS
917 config ADK_TARGET_CPU_MIPS_R4600
918         bool "r4600"
919         select ADK_TARGET_SUPPORTS_THREADS
920         select ADK_TARGET_SUPPORTS_LT
921         select ADK_TARGET_SUPPORTS_NPTL
922         select ADK_TARGET_WITH_MMU
923         select ADK_TARGET_CPU_WITH_FPU
924         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
925         depends on ADK_TARGET_ARCH_MIPS
927 # mips64
928 config ADK_TARGET_CPU_MIPS64_MIPS1
929         bool "mips1"
930         select ADK_LINUX_64
931         select ADK_TARGET_SUPPORTS_THREADS
932         select ADK_TARGET_SUPPORTS_LT
933         select ADK_TARGET_SUPPORTS_NPTL
934         select ADK_TARGET_WITH_MMU
935         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
936         depends on ADK_TARGET_ARCH_MIPS64
938 config ADK_TARGET_CPU_MIPS64_MIPS2
939         bool "mips2"
940         select ADK_LINUX_64
941         select ADK_TARGET_SUPPORTS_THREADS
942         select ADK_TARGET_SUPPORTS_LT
943         select ADK_TARGET_SUPPORTS_NPTL
944         select ADK_TARGET_WITH_MMU
945         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
946         depends on ADK_TARGET_ARCH_MIPS64
948 config ADK_TARGET_CPU_MIPS64_MIPS3
949         bool "mips3"
950         select ADK_LINUX_64
951         select ADK_TARGET_SUPPORTS_THREADS
952         select ADK_TARGET_SUPPORTS_LT
953         select ADK_TARGET_SUPPORTS_NPTL
954         select ADK_TARGET_WITH_MMU
955         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
956         depends on ADK_TARGET_ARCH_MIPS64
958 config ADK_TARGET_CPU_MIPS64_MIPS4
959         bool "mips4"
960         select ADK_LINUX_64
961         select ADK_TARGET_SUPPORTS_THREADS
962         select ADK_TARGET_SUPPORTS_LT
963         select ADK_TARGET_SUPPORTS_NPTL
964         select ADK_TARGET_WITH_MMU
965         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
966         depends on ADK_TARGET_ARCH_MIPS64
968 config ADK_TARGET_CPU_MIPS64_MIPS64
969         bool "mips64"
970         select ADK_LINUX_64
971         select ADK_TARGET_SUPPORTS_THREADS
972         select ADK_TARGET_SUPPORTS_LT
973         select ADK_TARGET_SUPPORTS_NPTL
974         select ADK_TARGET_WITH_MMU
975         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
976         select ADK_LINUX_KERNEL_CPU_MIPS64_R1 if ADK_TARGET_OS_LINUX
977         depends on ADK_TARGET_ARCH_MIPS64
979 config ADK_TARGET_CPU_MIPS64_MIPS64R2
980         bool "mips64r2"
981         select ADK_LINUX_64
982         select ADK_TARGET_SUPPORTS_THREADS
983         select ADK_TARGET_SUPPORTS_LT
984         select ADK_TARGET_SUPPORTS_NPTL
985         select ADK_TARGET_WITH_MMU
986         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
987         select ADK_LINUX_KERNEL_CPU_MIPS64_R2 if ADK_TARGET_OS_LINUX
988         depends on ADK_TARGET_ARCH_MIPS64
990 config ADK_TARGET_CPU_MIPS64_MIPS64R6
991         bool "mips64r6"
992         select ADK_LINUX_64
993         select ADK_TARGET_SUPPORTS_THREADS
994         select ADK_TARGET_SUPPORTS_LT
995         select ADK_TARGET_SUPPORTS_NPTL
996         select ADK_TARGET_WITH_MMU
997         select ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
998         select ADK_LINUX_KERNEL_CPU_MIPS64_R6 if ADK_TARGET_OS_LINUX
999         depends on ADK_TARGET_ARCH_MIPS64
1001 config ADK_TARGET_CPU_MIPS64_LOONGSON2F
1002         bool "loongson2f"
1003         select ADK_LINUX_64
1004         select ADK_TARGET_SUPPORTS_THREADS
1005         select ADK_TARGET_SUPPORTS_LT
1006         select ADK_TARGET_SUPPORTS_NPTL
1007         select ADK_TARGET_WITH_MMU
1008         depends on ADK_TARGET_ARCH_MIPS64
1010 # mn10300
1011 config ADK_TARGET_CPU_MN10300
1012         bool "mn10300"
1013         depends on ADK_TARGET_ARCH_MN10300
1015 # moxie
1016 config ADK_TARGET_CPU_MOXIE
1017         bool "moxie"
1018         select ADK_TARGET_WITH_MMU
1019         depends on ADK_TARGET_ARCH_MOXIE
1021 # msp430
1022 config ADK_TARGET_CPU_MSP430
1023         bool "msp430"
1024         depends on ADK_TARGET_ARCH_MSP430
1026 # nds32
1027 config ADK_TARGET_CPU_NDS32
1028         bool "nds32"
1029         select ADK_TARGET_SUPPORTS_THREADS
1030         select ADK_TARGET_SUPPORTS_LT
1031         select ADK_TARGET_SUPPORTS_NPTL
1032         select ADK_TARGET_WITH_MMU
1033         depends on ADK_TARGET_ARCH_NDS32
1035 # nios2
1036 config ADK_TARGET_CPU_NIOS2
1037         bool "nios2"
1038         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
1039         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
1040         select ADK_TARGET_WITH_MMU
1041         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
1042         depends on ADK_TARGET_ARCH_NIOS2
1044 # openrisc
1045 config ADK_TARGET_CPU_OR1K
1046         bool "or1k"
1047         select ADK_TARGET_SUPPORTS_THREADS
1048         select ADK_TARGET_SUPPORTS_LT
1049         select ADK_TARGET_SUPPORTS_NPTL
1050         select ADK_TARGET_WITH_MMU
1051         depends on ADK_TARGET_ARCH_OR1K
1053 # ppc32
1054 config ADK_TARGET_CPU_PPC
1055         bool "ppc"
1056         select ADK_TARGET_SUPPORTS_THREADS
1057         select ADK_TARGET_SUPPORTS_LT
1058         select ADK_TARGET_SUPPORTS_NPTL
1059         select ADK_TARGET_WITH_MMU
1060         depends on ADK_TARGET_ARCH_PPC
1062 config ADK_TARGET_CPU_PPC_440
1063         bool "440"
1064         select ADK_TARGET_SUPPORTS_THREADS
1065         select ADK_TARGET_SUPPORTS_LT
1066         select ADK_TARGET_SUPPORTS_NPTL
1067         select ADK_TARGET_WITH_MMU
1068         depends on ADK_TARGET_ARCH_PPC
1070 config ADK_TARGET_CPU_PPC_740
1071         bool "740"
1072         select ADK_TARGET_SUPPORTS_THREADS
1073         select ADK_TARGET_SUPPORTS_LT
1074         select ADK_TARGET_SUPPORTS_NPTL
1075         select ADK_TARGET_WITH_MMU
1076         depends on ADK_TARGET_ARCH_PPC
1078 config ADK_TARGET_CPU_PPC_7400
1079         bool "7400"
1080         select ADK_TARGET_SUPPORTS_THREADS
1081         select ADK_TARGET_SUPPORTS_LT
1082         select ADK_TARGET_SUPPORTS_NPTL
1083         select ADK_TARGET_WITH_MMU
1084         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1085         depends on ADK_TARGET_ARCH_PPC
1087 config ADK_TARGET_CPU_PPC_7450
1088         bool "7450"
1089         select ADK_TARGET_SUPPORTS_THREADS
1090         select ADK_TARGET_SUPPORTS_LT
1091         select ADK_TARGET_SUPPORTS_NPTL
1092         select ADK_TARGET_WITH_MMU
1093         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1094         depends on ADK_TARGET_ARCH_PPC
1096 config ADK_TARGET_CPU_PPC_750
1097         bool "750"
1098         select ADK_TARGET_SUPPORTS_THREADS
1099         select ADK_TARGET_SUPPORTS_LT
1100         select ADK_TARGET_SUPPORTS_NPTL
1101         select ADK_TARGET_WITH_MMU
1102         depends on ADK_TARGET_ARCH_PPC
1104 config ADK_TARGET_CPU_PPC_8540
1105         bool "8540"
1106         select ADK_TARGET_SUPPORTS_THREADS
1107         select ADK_TARGET_SUPPORTS_LT
1108         select ADK_TARGET_SUPPORTS_NPTL
1109         select ADK_TARGET_WITH_MMU
1110         select ADK_TARGET_ARCH_PPC_WITH_SPE
1111         depends on ADK_TARGET_ARCH_PPC
1113 config ADK_TARGET_CPU_PPC_8548
1114         bool "8548"
1115         select ADK_TARGET_SUPPORTS_THREADS
1116         select ADK_TARGET_SUPPORTS_LT
1117         select ADK_TARGET_SUPPORTS_NPTL
1118         select ADK_TARGET_WITH_MMU
1119         select ADK_TARGET_ARCH_PPC_WITH_SPE
1120         depends on ADK_TARGET_ARCH_PPC
1122 config ADK_TARGET_CPU_PPC_E500MC
1123         bool "e500mc"
1124         select ADK_TARGET_SUPPORTS_THREADS
1125         select ADK_TARGET_SUPPORTS_LT
1126         select ADK_TARGET_SUPPORTS_NPTL
1127         select ADK_TARGET_WITH_MMU
1128         depends on ADK_TARGET_ARCH_PPC
1130 config ADK_TARGET_CPU_PPC_970
1131         bool "970"
1132         select ADK_TARGET_SUPPORTS_THREADS
1133         select ADK_TARGET_SUPPORTS_LT
1134         select ADK_TARGET_SUPPORTS_NPTL
1135         select ADK_TARGET_WITH_MMU
1136         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1137         depends on ADK_TARGET_ARCH_PPC
1139 # ppc64
1140 config ADK_TARGET_CPU_PPC64_POWER8
1141         bool "power8"
1142         select ADK_LINUX_64
1143         select ADK_TARGET_SUPPORTS_THREADS
1144         select ADK_TARGET_SUPPORTS_NPTL
1145         select ADK_TARGET_WITH_MMU
1146         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1147         depends on ADK_TARGET_ARCH_PPC64
1149 config ADK_TARGET_CPU_PPC64_POWER7
1150         bool "power7"
1151         select ADK_LINUX_64
1152         select ADK_TARGET_SUPPORTS_THREADS
1153         select ADK_TARGET_SUPPORTS_NPTL
1154         select ADK_TARGET_WITH_MMU
1155         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1156         depends on ADK_TARGET_ARCH_PPC64
1157         depends on ADK_TARGET_BIG_ENDIAN
1159 config ADK_TARGET_CPU_PPC64_POWER6
1160         bool "power6"
1161         select ADK_LINUX_64
1162         select ADK_TARGET_SUPPORTS_THREADS
1163         select ADK_TARGET_SUPPORTS_NPTL
1164         select ADK_TARGET_WITH_MMU
1165         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1166         depends on ADK_TARGET_ARCH_PPC64
1167         depends on ADK_TARGET_BIG_ENDIAN
1169 config ADK_TARGET_CPU_PPC64_POWER5
1170         bool "power5"
1171         select ADK_LINUX_64
1172         select ADK_TARGET_SUPPORTS_THREADS
1173         select ADK_TARGET_SUPPORTS_NPTL
1174         select ADK_TARGET_WITH_MMU
1175         depends on ADK_TARGET_ARCH_PPC64
1176         depends on ADK_TARGET_BIG_ENDIAN
1178 config ADK_TARGET_CPU_PPC64_POWER4
1179         bool "power4"
1180         select ADK_LINUX_64
1181         select ADK_TARGET_SUPPORTS_THREADS
1182         select ADK_TARGET_SUPPORTS_NPTL
1183         select ADK_TARGET_WITH_MMU
1184         depends on ADK_TARGET_ARCH_PPC64
1185         depends on ADK_TARGET_BIG_ENDIAN
1187 config ADK_TARGET_CPU_PPC64_POWERPC64
1188         bool "powerpc64"
1189         select ADK_LINUX_64
1190         select ADK_TARGET_SUPPORTS_THREADS
1191         select ADK_TARGET_SUPPORTS_NPTL
1192         select ADK_TARGET_WITH_MMU
1193         depends on ADK_TARGET_ARCH_PPC64
1194         depends on ADK_TARGET_BIG_ENDIAN
1196 # riscv
1197 config ADK_TARGET_CPU_RISCV32_RV32IMAC
1198         bool "rv32imac"
1199         select ADK_TARGET_SUPPORTS_THREADS
1200         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1201         select ADK_TARGET_SUPPORTS_LT
1202         select ADK_TARGET_ABI_ILP32
1203         depends on ADK_TARGET_ARCH_RISCV32
1205 config ADK_TARGET_CPU_RISCV32_RV32IMA
1206         bool "rv32ima"
1207         select ADK_TARGET_SUPPORTS_THREADS
1208         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1209         select ADK_TARGET_SUPPORTS_LT
1210         select ADK_TARGET_ABI_ILP32
1211         depends on ADK_TARGET_ARCH_RISCV32
1213 config ADK_TARGET_CPU_RISCV32_RV32IMAFC
1214         bool "rv32imafc"
1215         select ADK_TARGET_SUPPORTS_THREADS
1216         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1217         select ADK_TARGET_SUPPORTS_LT
1218         select ADK_TARGET_ABI_ILP32F
1219         depends on ADK_TARGET_ARCH_RISCV32
1221 config ADK_TARGET_CPU_RISCV32_RV32IMADC
1222         bool "rv32imadc"
1223         select ADK_TARGET_SUPPORTS_THREADS
1224         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1225         select ADK_TARGET_SUPPORTS_LT
1226         select ADK_TARGET_ABI_ILP32D
1227         depends on ADK_TARGET_ARCH_RISCV32
1229 config ADK_TARGET_CPU_RISCV32_RV32IMAFDC
1230         bool "rv32imafdc"
1231         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
1232         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1233         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
1234         depends on ADK_TARGET_ARCH_RISCV32
1236 config ADK_TARGET_CPU_RISCV64_RV64IMAC
1237         bool "rv64imac"
1238         select ADK_TARGET_SUPPORTS_THREADS
1239         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1240         select ADK_TARGET_SUPPORTS_LT
1241         select ADK_TARGET_ABI_LP64
1242         depends on ADK_TARGET_ARCH_RISCV64
1244 config ADK_TARGET_CPU_RISCV64_RV64IMA
1245         bool "rv64ima"
1246         select ADK_TARGET_SUPPORTS_THREADS
1247         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1248         select ADK_TARGET_SUPPORTS_LT
1249         select ADK_TARGET_ABI_LP64
1250         depends on ADK_TARGET_ARCH_RISCV64
1252 config ADK_TARGET_CPU_RISCV64_RV64IMAFC
1253         bool "rv64imafc"
1254         select ADK_TARGET_SUPPORTS_THREADS
1255         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1256         select ADK_TARGET_SUPPORTS_LT
1257         select ADK_TARGET_ABI_LP64F
1258         depends on ADK_TARGET_ARCH_RISCV64
1260 config ADK_TARGET_CPU_RISCV64_RV64IMADC
1261         bool "rv64imadc"
1262         select ADK_TARGET_SUPPORTS_THREADS
1263         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1264         select ADK_TARGET_SUPPORTS_LT
1265         select ADK_TARGET_ABI_LP64D
1266         depends on ADK_TARGET_ARCH_RISCV64
1268 config ADK_TARGET_CPU_RISCV64_RV64IMAFDC
1269         bool "rv64imafdc"
1270         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
1271         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
1272         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
1273         depends on ADK_TARGET_ARCH_RISCV64
1275 # rx
1276 config ADK_TARGET_CPU_RX
1277         bool "rx"
1278         depends on ADK_TARGET_ARCH_RX
1280 # s390
1281 config ADK_TARGET_CPU_S390_Z900
1282         bool "z900"
1283         select ADK_LINUX_64
1284         select ADK_TARGET_SUPPORTS_THREADS
1285         select ADK_TARGET_SUPPORTS_NPTL
1286         select ADK_TARGET_WITH_MMU
1287         depends on ADK_TARGET_ARCH_S390
1289 # sh
1290 config ADK_TARGET_CPU_SH_SH
1291         bool "sh"
1292         depends on ADK_TARGET_ARCH_SH
1294 config ADK_TARGET_CPU_SH_J2
1295         bool "j2"
1296         select ADK_TARGET_SUPPORTS_THREADS
1297         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
1298         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
1299         depends on ADK_TARGET_ARCH_SH
1301 config ADK_TARGET_CPU_SH_SH2
1302         bool "sh2"
1303         select ADK_TARGET_SUPPORTS_THREADS
1304         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
1305         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
1306         depends on ADK_TARGET_ARCH_SH
1308 config ADK_TARGET_CPU_SH_SH2A
1309         bool "sh2a"
1310         select ADK_TARGET_SUPPORTS_THREADS
1311         select ADK_TARGET_SUPPORTS_LT
1312         depends on ADK_TARGET_ARCH_SH
1314 config ADK_TARGET_CPU_SH_SH3
1315         bool "sh3"
1316         select ADK_TARGET_SUPPORTS_THREADS
1317         select ADK_TARGET_SUPPORTS_NPTL
1318         select ADK_TARGET_SUPPORTS_LT
1319         select ADK_TARGET_WITH_MMU
1320         depends on ADK_TARGET_ARCH_SH
1322 config ADK_TARGET_CPU_SH_SH4
1323         bool "sh4"
1324         select ADK_TARGET_SUPPORTS_THREADS
1325         select ADK_TARGET_SUPPORTS_NPTL
1326         select ADK_TARGET_SUPPORTS_LT
1327         select ADK_TARGET_WITH_MMU
1328         depends on ADK_TARGET_ARCH_SH
1330 config ADK_TARGET_CPU_SH_SH4A
1331         bool "sh4a"
1332         select ADK_TARGET_SUPPORTS_THREADS
1333         select ADK_TARGET_SUPPORTS_NPTL
1334         select ADK_TARGET_SUPPORTS_LT
1335         select ADK_TARGET_WITH_MMU
1336         depends on ADK_TARGET_ARCH_SH
1338 # sparc
1339 config ADK_TARGET_CPU_SPARC_V8
1340         bool "v8"
1341         select ADK_TARGET_SUPPORTS_THREADS
1342         select ADK_TARGET_SUPPORTS_NPTL
1343         select ADK_TARGET_SUPPORTS_LT
1344         select ADK_TARGET_WITH_MMU
1345         depends on ADK_TARGET_ARCH_SPARC
1347 config ADK_TARGET_CPU_SPARC_V7
1348         bool "v7"
1349         select ADK_TARGET_SUPPORTS_THREADS
1350         select ADK_TARGET_SUPPORTS_NPTL
1351         select ADK_TARGET_SUPPORTS_LT
1352         select ADK_TARGET_WITH_MMU
1353         depends on ADK_TARGET_ARCH_SPARC
1355 config ADK_TARGET_CPU_SPARC_LEON
1356         bool "leon"
1357         select ADK_TARGET_SUPPORTS_THREADS
1358         select ADK_TARGET_SUPPORTS_NPTL
1359         select ADK_TARGET_SUPPORTS_LT
1360         select ADK_TARGET_WITH_MMU
1361         depends on ADK_TARGET_ARCH_SPARC
1363 # sparc64
1364 config ADK_TARGET_CPU_SPARC64_V9
1365         bool "v9"
1366         select ADK_LINUX_64
1367         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
1368         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
1369         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
1370         select ADK_TARGET_WITH_MMU
1371         depends on ADK_TARGET_ARCH_SPARC64
1373 # tile
1374 config ADK_TARGET_CPU_TILE_TILEGX
1375         bool "tilegx"
1376         select ADK_LINUX_64
1377         select ADK_TARGET_SUPPORTS_THREADS
1378         select ADK_TARGET_SUPPORTS_NPTL
1379         select ADK_TARGET_WITH_MMU
1380         depends on ADK_TARGET_ARCH_TILE
1382 # v850
1383 config ADK_TARGET_CPU_V850
1384         bool "v850"
1385         depends on ADK_TARGET_ARCH_V850
1387 # x86
1388 config ADK_TARGET_CPU_X86_I486
1389         bool "i486"
1390         select ADK_TARGET_SUPPORTS_THREADS
1391         select ADK_TARGET_SUPPORTS_NPTL
1392         select ADK_TARGET_SUPPORTS_LT
1393         select ADK_TARGET_WITH_MMU
1394         depends on ADK_TARGET_ARCH_X86
1396 config ADK_TARGET_CPU_X86_I586
1397         bool "i586"
1398         select ADK_TARGET_SUPPORTS_THREADS
1399         select ADK_TARGET_SUPPORTS_NPTL
1400         select ADK_TARGET_SUPPORTS_LT
1401         select ADK_TARGET_WITH_MMU
1402         depends on ADK_TARGET_ARCH_X86
1404 config ADK_TARGET_CPU_X86_I686
1405         bool "i686"
1406         select ADK_TARGET_SUPPORTS_THREADS
1407         select ADK_TARGET_SUPPORTS_NPTL
1408         select ADK_TARGET_SUPPORTS_LT
1409         select ADK_TARGET_WITH_MMU
1410         depends on ADK_TARGET_ARCH_X86
1412 config ADK_TARGET_CPU_X86_GEODE
1413         bool "geode"
1414         select ADK_TARGET_SUPPORTS_THREADS
1415         select ADK_TARGET_SUPPORTS_NPTL
1416         select ADK_TARGET_SUPPORTS_LT
1417         select ADK_TARGET_WITH_MMU
1418         depends on ADK_TARGET_ARCH_X86
1420 config ADK_TARGET_CPU_X86_ATOM
1421         bool "atom"
1422         select ADK_TARGET_SUPPORTS_THREADS
1423         select ADK_TARGET_SUPPORTS_NPTL
1424         select ADK_TARGET_SUPPORTS_LT
1425         select ADK_TARGET_WITH_MMU
1426         depends on ADK_TARGET_ARCH_X86
1428 config ADK_TARGET_CPU_X86_PENTIUM_M
1429         bool "pentium-m"
1430         select ADK_TARGET_SUPPORTS_THREADS
1431         select ADK_TARGET_SUPPORTS_NPTL
1432         select ADK_TARGET_SUPPORTS_LT
1433         select ADK_TARGET_WITH_MMU
1434         depends on ADK_TARGET_ARCH_X86
1436 # x86_64
1437 config ADK_TARGET_CPU_X86_64
1438         bool "Generic x86_64"
1439         select ADK_LINUX_64
1440         select ADK_TARGET_SUPPORTS_THREADS
1441         select ADK_TARGET_SUPPORTS_NPTL
1442         select ADK_TARGET_SUPPORTS_LT
1443         select ADK_TARGET_WITH_MMU
1444         depends on ADK_TARGET_ARCH_X86_64
1446 config ADK_TARGET_CPU_X86_64_ATHLON_FX
1447         bool "Athlon 64 FX"
1448         select ADK_LINUX_64
1449         select ADK_TARGET_SUPPORTS_THREADS
1450         select ADK_TARGET_SUPPORTS_NPTL
1451         select ADK_TARGET_SUPPORTS_LT
1452         select ADK_TARGET_WITH_MMU
1453         select ADK_TARGET_CPU_WITH_VT
1454         select ADK_TARGET_CPU_WITH_MMX
1455         select ADK_TARGET_CPU_WITH_SSE
1456         select ADK_TARGET_CPU_WITH_SSE2
1457         select ADK_TARGET_CPU_WITH_3DNOW
1458         select ADK_TARGET_CPU_WITH_3DNOWEXT
1459         depends on ADK_TARGET_ARCH_X86_64
1461 config ADK_TARGET_CPU_X86_64_ATHLON_64
1462         bool "Athlon 64"
1463         select ADK_LINUX_64
1464         select ADK_TARGET_SUPPORTS_THREADS
1465         select ADK_TARGET_SUPPORTS_NPTL
1466         select ADK_TARGET_SUPPORTS_LT
1467         select ADK_TARGET_WITH_MMU
1468         select ADK_TARGET_CPU_WITH_VT
1469         select ADK_TARGET_CPU_WITH_MMX
1470         select ADK_TARGET_CPU_WITH_SSE
1471         select ADK_TARGET_CPU_WITH_SSE2
1472         select ADK_TARGET_CPU_WITH_3DNOW
1473         select ADK_TARGET_CPU_WITH_3DNOWEXT
1474         depends on ADK_TARGET_ARCH_X86_64
1476 config ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
1477         bool "Athlon 64 with SSE3"
1478         select ADK_LINUX_64
1479         select ADK_TARGET_SUPPORTS_THREADS
1480         select ADK_TARGET_SUPPORTS_NPTL
1481         select ADK_TARGET_SUPPORTS_LT
1482         select ADK_TARGET_WITH_MMU
1483         select ADK_TARGET_CPU_WITH_VT
1484         select ADK_TARGET_CPU_WITH_MMX
1485         select ADK_TARGET_CPU_WITH_SSE
1486         select ADK_TARGET_CPU_WITH_SSE2
1487         select ADK_TARGET_CPU_WITH_SSE3
1488         select ADK_TARGET_CPU_WITH_3DNOW
1489         select ADK_TARGET_CPU_WITH_3DNOWEXT
1490         depends on ADK_TARGET_ARCH_X86_64
1492 config ADK_TARGET_CPU_X86_64_BARCELONA
1493         bool "Barcelona"
1494         select ADK_LINUX_64
1495         select ADK_TARGET_SUPPORTS_THREADS
1496         select ADK_TARGET_SUPPORTS_NPTL
1497         select ADK_TARGET_SUPPORTS_LT
1498         select ADK_TARGET_WITH_MMU
1499         select ADK_TARGET_CPU_WITH_VT
1500         select ADK_TARGET_CPU_WITH_MMX
1501         select ADK_TARGET_CPU_WITH_SSE
1502         select ADK_TARGET_CPU_WITH_SSE2
1503         select ADK_TARGET_CPU_WITH_SSE3
1504         select ADK_TARGET_CPU_WITH_SSE4A
1505         select ADK_TARGET_CPU_WITH_3DNOW
1506         select ADK_TARGET_CPU_WITH_3DNOWEXT
1507         depends on ADK_TARGET_ARCH_X86_64
1509 config ADK_TARGET_CPU_X86_64_BDVER1
1510         bool "bdver1"
1511         select ADK_LINUX_64
1512         select ADK_TARGET_SUPPORTS_THREADS
1513         select ADK_TARGET_SUPPORTS_NPTL
1514         select ADK_TARGET_SUPPORTS_LT
1515         select ADK_TARGET_WITH_MMU
1516         select ADK_TARGET_CPU_WITH_VT
1517         select ADK_TARGET_CPU_WITH_MMX
1518         select ADK_TARGET_CPU_WITH_SSE
1519         select ADK_TARGET_CPU_WITH_SSE2
1520         select ADK_TARGET_CPU_WITH_SSE3
1521         select ADK_TARGET_CPU_WITH_SSE4A
1522         select ADK_TARGET_CPU_WITH_SSE4_1
1523         select ADK_TARGET_CPU_WITH_SSE4_2
1524         select ADK_TARGET_CPU_WITH_SSSE3
1525         depends on ADK_TARGET_ARCH_X86_64
1527 config ADK_TARGET_CPU_X86_64_BDVER2
1528         bool "bdver2"
1529         select ADK_LINUX_64
1530         select ADK_TARGET_SUPPORTS_THREADS
1531         select ADK_TARGET_SUPPORTS_NPTL
1532         select ADK_TARGET_SUPPORTS_LT
1533         select ADK_TARGET_WITH_MMU
1534         select ADK_TARGET_CPU_WITH_VT
1535         select ADK_TARGET_CPU_WITH_MMX
1536         select ADK_TARGET_CPU_WITH_SSE
1537         select ADK_TARGET_CPU_WITH_SSE2
1538         select ADK_TARGET_CPU_WITH_SSE3
1539         select ADK_TARGET_CPU_WITH_SSE4A
1540         select ADK_TARGET_CPU_WITH_SSE4_1
1541         select ADK_TARGET_CPU_WITH_SSE4_2
1542         select ADK_TARGET_CPU_WITH_SSSE3
1543         depends on ADK_TARGET_ARCH_X86_64
1545 config ADK_TARGET_CPU_X86_64_BDVER3
1546         bool "bdver3"
1547         select ADK_LINUX_64
1548         select ADK_TARGET_SUPPORTS_THREADS
1549         select ADK_TARGET_SUPPORTS_NPTL
1550         select ADK_TARGET_SUPPORTS_LT
1551         select ADK_TARGET_WITH_MMU
1552         select ADK_TARGET_CPU_WITH_VT
1553         select ADK_TARGET_CPU_WITH_MMX
1554         select ADK_TARGET_CPU_WITH_SSE
1555         select ADK_TARGET_CPU_WITH_SSE2
1556         select ADK_TARGET_CPU_WITH_SSE3
1557         select ADK_TARGET_CPU_WITH_SSE4A
1558         select ADK_TARGET_CPU_WITH_SSE4_1
1559         select ADK_TARGET_CPU_WITH_SSE4_2
1560         select ADK_TARGET_CPU_WITH_SSSE3
1561         depends on ADK_TARGET_ARCH_X86_64
1563 config ADK_TARGET_CPU_X86_64_BDVER4
1564         bool "bdver4"
1565         select ADK_LINUX_64
1566         select ADK_TARGET_SUPPORTS_THREADS
1567         select ADK_TARGET_SUPPORTS_NPTL
1568         select ADK_TARGET_SUPPORTS_LT
1569         select ADK_TARGET_WITH_MMU
1570         select ADK_TARGET_CPU_WITH_VT
1571         select ADK_TARGET_CPU_WITH_MMX
1572         select ADK_TARGET_CPU_WITH_SSE
1573         select ADK_TARGET_CPU_WITH_SSE2
1574         select ADK_TARGET_CPU_WITH_SSE3
1575         select ADK_TARGET_CPU_WITH_SSE4A
1576         select ADK_TARGET_CPU_WITH_SSE4_1
1577         select ADK_TARGET_CPU_WITH_SSE4_2
1578         select ADK_TARGET_CPU_WITH_SSSE3
1579         depends on ADK_TARGET_ARCH_X86_64
1581 config ADK_TARGET_CPU_X86_64_BONNELL
1582         bool "Bonnell"
1583         select ADK_LINUX_64
1584         select ADK_TARGET_SUPPORTS_THREADS
1585         select ADK_TARGET_SUPPORTS_NPTL
1586         select ADK_TARGET_SUPPORTS_LT
1587         select ADK_TARGET_WITH_MMU
1588         select ADK_TARGET_CPU_WITH_MMX
1589         select ADK_TARGET_CPU_WITH_SSE
1590         select ADK_TARGET_CPU_WITH_SSE2
1591         select ADK_TARGET_CPU_WITH_SSE3
1592         select ADK_TARGET_CPU_WITH_SSSE3
1593         depends on ADK_TARGET_ARCH_X86_64
1595 config ADK_TARGET_CPU_X86_64_BROADWELL
1596         bool "Broadwell"
1597         select ADK_LINUX_64
1598         select ADK_TARGET_SUPPORTS_THREADS
1599         select ADK_TARGET_SUPPORTS_NPTL
1600         select ADK_TARGET_SUPPORTS_LT
1601         select ADK_TARGET_WITH_MMU
1602         select ADK_TARGET_CPU_WITH_VT
1603         select ADK_TARGET_CPU_WITH_MMX
1604         select ADK_TARGET_CPU_WITH_SSE
1605         select ADK_TARGET_CPU_WITH_SSE2
1606         select ADK_TARGET_CPU_WITH_SSE3
1607         select ADK_TARGET_CPU_WITH_SSSE3
1608         depends on ADK_TARGET_ARCH_X86_64
1610 config ADK_TARGET_CPU_X86_64_BTVER1
1611         bool "btver1"
1612         select ADK_LINUX_64
1613         select ADK_TARGET_SUPPORTS_THREADS
1614         select ADK_TARGET_SUPPORTS_NPTL
1615         select ADK_TARGET_SUPPORTS_LT
1616         select ADK_TARGET_WITH_MMU
1617         select ADK_TARGET_CPU_WITH_VT
1618         select ADK_TARGET_CPU_WITH_MMX
1619         select ADK_TARGET_CPU_WITH_SSE
1620         select ADK_TARGET_CPU_WITH_SSE2
1621         select ADK_TARGET_CPU_WITH_SSE3
1622         select ADK_TARGET_CPU_WITH_SSE4A
1623         select ADK_TARGET_CPU_WITH_SSSE3
1624         depends on ADK_TARGET_ARCH_X86_64
1626 config ADK_TARGET_CPU_X86_64_BTVER2
1627         bool "btver2"
1628         select ADK_LINUX_64
1629         select ADK_TARGET_SUPPORTS_THREADS
1630         select ADK_TARGET_SUPPORTS_NPTL
1631         select ADK_TARGET_SUPPORTS_LT
1632         select ADK_TARGET_WITH_MMU
1633         select ADK_TARGET_CPU_WITH_VT
1634         select ADK_TARGET_CPU_WITH_MMX
1635         select ADK_TARGET_CPU_WITH_SSE
1636         select ADK_TARGET_CPU_WITH_SSE2
1637         select ADK_TARGET_CPU_WITH_SSE3
1638         select ADK_TARGET_CPU_WITH_SSE4A
1639         select ADK_TARGET_CPU_WITH_SSE4_1
1640         select ADK_TARGET_CPU_WITH_SSE4_2
1641         select ADK_TARGET_CPU_WITH_SSSE3
1642         depends on ADK_TARGET_ARCH_X86_64
1644 config ADK_TARGET_CPU_X86_64_CORE2
1645         bool "Core 2"
1646         select ADK_LINUX_64
1647         select ADK_TARGET_SUPPORTS_THREADS
1648         select ADK_TARGET_SUPPORTS_NPTL
1649         select ADK_TARGET_SUPPORTS_LT
1650         select ADK_TARGET_WITH_MMU
1651         select ADK_TARGET_CPU_WITH_VT
1652         select ADK_TARGET_CPU_WITH_MMX
1653         select ADK_TARGET_CPU_WITH_SSE
1654         select ADK_TARGET_CPU_WITH_SSE2
1655         select ADK_TARGET_CPU_WITH_SSE3
1656         select ADK_TARGET_CPU_WITH_SSSE3
1657         depends on ADK_TARGET_ARCH_X86_64
1659 config ADK_TARGET_CPU_X86_64_HASWELL
1660         bool "Haswell"
1661         select ADK_LINUX_64
1662         select ADK_TARGET_SUPPORTS_THREADS
1663         select ADK_TARGET_SUPPORTS_NPTL
1664         select ADK_TARGET_SUPPORTS_LT
1665         select ADK_TARGET_WITH_MMU
1666         select ADK_TARGET_CPU_WITH_VT
1667         select ADK_TARGET_CPU_WITH_MMX
1668         select ADK_TARGET_CPU_WITH_SSE
1669         select ADK_TARGET_CPU_WITH_SSE2
1670         select ADK_TARGET_CPU_WITH_SSE3
1671         select ADK_TARGET_CPU_WITH_SSE4_1
1672         select ADK_TARGET_CPU_WITH_SSE4_2
1673         select ADK_TARGET_CPU_WITH_SSSE3
1674         depends on ADK_TARGET_ARCH_X86_64
1676 config ADK_TARGET_CPU_X86_64_IVYBRIDGE
1677         bool "Ivybridge"
1678         select ADK_LINUX_64
1679         select ADK_TARGET_SUPPORTS_THREADS
1680         select ADK_TARGET_SUPPORTS_NPTL
1681         select ADK_TARGET_SUPPORTS_LT
1682         select ADK_TARGET_WITH_MMU
1683         select ADK_TARGET_CPU_WITH_VT
1684         select ADK_TARGET_CPU_WITH_MMX
1685         select ADK_TARGET_CPU_WITH_SSE
1686         select ADK_TARGET_CPU_WITH_SSE2
1687         select ADK_TARGET_CPU_WITH_SSE3
1688         select ADK_TARGET_CPU_WITH_SSE4_1
1689         select ADK_TARGET_CPU_WITH_SSE4_2
1690         select ADK_TARGET_CPU_WITH_SSSE3
1691         depends on ADK_TARGET_ARCH_X86_64
1693 config ADK_TARGET_CPU_X86_64_K8
1694         bool "K8"
1695         select ADK_LINUX_64
1696         select ADK_TARGET_SUPPORTS_THREADS
1697         select ADK_TARGET_SUPPORTS_NPTL
1698         select ADK_TARGET_SUPPORTS_LT
1699         select ADK_TARGET_WITH_MMU
1700         select ADK_TARGET_CPU_WITH_MMX
1701         select ADK_TARGET_CPU_WITH_SSE
1702         select ADK_TARGET_CPU_WITH_SSE2
1703         select ADK_TARGET_CPU_WITH_3DNOW
1704         select ADK_TARGET_CPU_WITH_3DNOWEXT
1705         depends on ADK_TARGET_ARCH_X86_64
1707 config ADK_TARGET_CPU_X86_64_K8_SSE3
1708         bool "K8 with SSE3"
1709         select ADK_LINUX_64
1710         select ADK_TARGET_SUPPORTS_THREADS
1711         select ADK_TARGET_SUPPORTS_NPTL
1712         select ADK_TARGET_SUPPORTS_LT
1713         select ADK_TARGET_WITH_MMU
1714         select ADK_TARGET_CPU_WITH_VT
1715         select ADK_TARGET_CPU_WITH_MMX
1716         select ADK_TARGET_CPU_WITH_SSE
1717         select ADK_TARGET_CPU_WITH_SSE2
1718         select ADK_TARGET_CPU_WITH_SSE3
1719         select ADK_TARGET_CPU_WITH_3DNOW
1720         select ADK_TARGET_CPU_WITH_3DNOWEXT
1721         depends on ADK_TARGET_ARCH_X86_64
1723 config ADK_TARGET_CPU_X86_64_KNL
1724         bool "knl"
1725         select ADK_LINUX_64
1726         select ADK_TARGET_SUPPORTS_THREADS
1727         select ADK_TARGET_SUPPORTS_NPTL
1728         select ADK_TARGET_SUPPORTS_LT
1729         select ADK_TARGET_WITH_MMU
1730         select ADK_TARGET_CPU_WITH_MMX
1731         select ADK_TARGET_CPU_WITH_SSE
1732         select ADK_TARGET_CPU_WITH_SSE2
1733         select ADK_TARGET_CPU_WITH_SSE3
1734         select ADK_TARGET_CPU_WITH_SSE4_1
1735         select ADK_TARGET_CPU_WITH_SSE4_2
1736         select ADK_TARGET_CPU_WITH_SSSE3
1737         depends on ADK_TARGET_ARCH_X86_64
1739 config ADK_TARGET_CPU_X86_64_NEHALEM
1740         bool "Nehalem"
1741         select ADK_LINUX_64
1742         select ADK_TARGET_SUPPORTS_THREADS
1743         select ADK_TARGET_SUPPORTS_NPTL
1744         select ADK_TARGET_SUPPORTS_LT
1745         select ADK_TARGET_WITH_MMU
1746         select ADK_TARGET_CPU_WITH_VT
1747         select ADK_TARGET_CPU_WITH_MMX
1748         select ADK_TARGET_CPU_WITH_SSE
1749         select ADK_TARGET_CPU_WITH_SSE2
1750         select ADK_TARGET_CPU_WITH_SSE3
1751         select ADK_TARGET_CPU_WITH_SSE4_1
1752         select ADK_TARGET_CPU_WITH_SSE4_2
1753         select ADK_TARGET_CPU_WITH_SSSE3
1754         depends on ADK_TARGET_ARCH_X86_64
1756 config ADK_TARGET_CPU_X86_64_NOCONA
1757         bool "Nocona"
1758         select ADK_LINUX_64
1759         select ADK_TARGET_SUPPORTS_THREADS
1760         select ADK_TARGET_SUPPORTS_NPTL
1761         select ADK_TARGET_SUPPORTS_LT
1762         select ADK_TARGET_WITH_MMU
1763         select ADK_TARGET_CPU_WITH_MMX
1764         select ADK_TARGET_CPU_WITH_SSE
1765         select ADK_TARGET_CPU_WITH_SSE2
1766         select ADK_TARGET_CPU_WITH_SSE3
1767         depends on ADK_TARGET_ARCH_X86_64
1769 config ADK_TARGET_CPU_X86_64_OPTERON
1770         bool "Opteron"
1771         select ADK_LINUX_64
1772         select ADK_TARGET_SUPPORTS_THREADS
1773         select ADK_TARGET_SUPPORTS_NPTL
1774         select ADK_TARGET_SUPPORTS_LT
1775         select ADK_TARGET_WITH_MMU
1776         select ADK_TARGET_CPU_WITH_MMX
1777         select ADK_TARGET_CPU_WITH_SSE
1778         select ADK_TARGET_CPU_WITH_SSE2
1779         select ADK_TARGET_CPU_WITH_3DNOW
1780         select ADK_TARGET_CPU_WITH_3DNOWEXT
1781         depends on ADK_TARGET_ARCH_X86_64
1783 config ADK_TARGET_CPU_X86_64_OPTERON_SSE3
1784         bool "Opteron with SSE3"
1785         select ADK_LINUX_64
1786         select ADK_TARGET_SUPPORTS_THREADS
1787         select ADK_TARGET_SUPPORTS_NPTL
1788         select ADK_TARGET_SUPPORTS_LT
1789         select ADK_TARGET_WITH_MMU
1790         select ADK_TARGET_CPU_WITH_VT
1791         select ADK_TARGET_CPU_WITH_MMX
1792         select ADK_TARGET_CPU_WITH_SSE
1793         select ADK_TARGET_CPU_WITH_SSE2
1794         select ADK_TARGET_CPU_WITH_SSE3
1795         select ADK_TARGET_CPU_WITH_3DNOW
1796         select ADK_TARGET_CPU_WITH_3DNOWEXT
1797         depends on ADK_TARGET_ARCH_X86_64
1799 config ADK_TARGET_CPU_X86_64_SANDYBRIDGE
1800         bool "Sandybridge"
1801         select ADK_LINUX_64
1802         select ADK_TARGET_SUPPORTS_THREADS
1803         select ADK_TARGET_SUPPORTS_NPTL
1804         select ADK_TARGET_SUPPORTS_LT
1805         select ADK_TARGET_WITH_MMU
1806         select ADK_TARGET_CPU_WITH_VT
1807         select ADK_TARGET_CPU_WITH_MMX
1808         select ADK_TARGET_CPU_WITH_SSE
1809         select ADK_TARGET_CPU_WITH_SSE2
1810         select ADK_TARGET_CPU_WITH_SSE3
1811         select ADK_TARGET_CPU_WITH_SSE4_1
1812         select ADK_TARGET_CPU_WITH_SSE4_2
1813         select ADK_TARGET_CPU_WITH_SSSE3
1814         depends on ADK_TARGET_ARCH_X86_64
1816 config ADK_TARGET_CPU_X86_64_SILVERMONT
1817         bool "Silvermont"
1818         select ADK_LINUX_64
1819         select ADK_TARGET_SUPPORTS_THREADS
1820         select ADK_TARGET_SUPPORTS_NPTL
1821         select ADK_TARGET_SUPPORTS_LT
1822         select ADK_TARGET_WITH_MMU
1823         select ADK_TARGET_CPU_WITH_VT
1824         select ADK_TARGET_CPU_WITH_MMX
1825         select ADK_TARGET_CPU_WITH_SSE
1826         select ADK_TARGET_CPU_WITH_SSE2
1827         select ADK_TARGET_CPU_WITH_SSE3
1828         select ADK_TARGET_CPU_WITH_SSE4_1
1829         select ADK_TARGET_CPU_WITH_SSE4_2
1830         select ADK_TARGET_CPU_WITH_SSSE3
1831         depends on ADK_TARGET_ARCH_X86_64
1833 config ADK_TARGET_CPU_X86_64_WESTMERE
1834         bool "Westmere"
1835         select ADK_LINUX_64
1836         select ADK_TARGET_SUPPORTS_THREADS
1837         select ADK_TARGET_SUPPORTS_NPTL
1838         select ADK_TARGET_SUPPORTS_LT
1839         select ADK_TARGET_WITH_MMU
1840         select ADK_TARGET_CPU_WITH_VT
1841         select ADK_TARGET_CPU_WITH_MMX
1842         select ADK_TARGET_CPU_WITH_SSE
1843         select ADK_TARGET_CPU_WITH_SSE2
1844         select ADK_TARGET_CPU_WITH_SSE3
1845         select ADK_TARGET_CPU_WITH_SSE4_1
1846         select ADK_TARGET_CPU_WITH_SSE4_2
1847         select ADK_TARGET_CPU_WITH_SSSE3
1848         depends on ADK_TARGET_ARCH_X86_64
1850 # xtensa
1851 config ADK_TARGET_CPU_XTENSA_DC233C
1852         bool "dc233c"
1853         select ADK_TARGET_SUPPORTS_THREADS
1854         select ADK_TARGET_SUPPORTS_NPTL
1855         select ADK_TARGET_SUPPORTS_LT
1856         select ADK_TARGET_KERNEL_IMAGE
1857         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_WITH_MMU
1858         select ADK_LINUX_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX if ADK_TARGET_WITH_MMU
1859         depends on ADK_TARGET_ARCH_XTENSA
1861 config ADK_TARGET_CPU_XTENSA_DC232B
1862         bool "dc232b"
1863         select ADK_TARGET_SUPPORTS_THREADS
1864         select ADK_TARGET_SUPPORTS_NPTL
1865         select ADK_TARGET_SUPPORTS_LT
1866         select ADK_TARGET_KERNEL_UIMAGE
1867         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC232B if ADK_TARGET_OS_LINUX
1868         depends on ADK_TARGET_ARCH_XTENSA
1870 config ADK_TARGET_CPU_XTENSA_DE212
1871         bool "de212"
1872         select ADK_TARGET_SUPPORTS_THREADS
1873         select ADK_TARGET_SUPPORTS_LT
1874         select ADK_TARGET_KERNEL_IMAGE
1875         select ADK_LINUX_KERNEL_XTENSA_VARIANT_CUSTOM if ADK_TARGET_OS_LINUX
1876         depends on ADK_TARGET_ARCH_XTENSA
1878 config ADK_TARGET_CPU_XTENSA_KC705_BE
1879         bool "kc705_be"
1880         select ADK_TARGET_SUPPORTS_THREADS
1881         select ADK_TARGET_SUPPORTS_NPTL
1882         select ADK_TARGET_SUPPORTS_LT
1883         select ADK_TARGET_KERNEL_UIMAGE
1884         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_OS_LINUX
1885         depends on ADK_TARGET_ARCH_XTENSA
1887 config ADK_TARGET_CPU_XTENSA_FSF
1888         bool "fsf"
1889         select ADK_TARGET_SUPPORTS_THREADS
1890         select ADK_TARGET_SUPPORTS_NPTL
1891         select ADK_TARGET_SUPPORTS_LT
1892         select ADK_TARGET_KERNEL_ZIMAGE
1893         select ADK_LINUX_KERNEL_XTENSA_VARIANT_FSF if ADK_TARGET_OS_LINUX
1894         depends on ADK_TARGET_ARCH_XTENSA
1896 endchoice
1898 # coldfire helper variable for gcc
1899 config ADK_TARGET_CPU_CF
1900         bool
1902 # CPU features
1903 config ADK_TARGET_CPU_WITH_FPU
1904         bool
1906 config ADK_TARGET_CPU_WITH_FPU_VFP
1907         bool
1908         select ADK_TARGET_CPU_WITH_FPU
1910 config ADK_TARGET_CPU_WITH_FPU_VFPV3
1911         bool
1912         select ADK_TARGET_CPU_WITH_FPU
1914 config ADK_TARGET_CPU_WITH_FPU_VFPV4
1915         bool
1916         select ADK_TARGET_CPU_WITH_FPU
1918 config ADK_TARGET_CPU_WITH_FPU_FPV4
1919         bool
1920         select ADK_TARGET_CPU_WITH_FPU
1922 config ADK_TARGET_CPU_WITH_FPU_FPV5
1923         bool
1924         select ADK_TARGET_CPU_WITH_FPU
1926 config ADK_TARGET_CPU_WITH_THUMB
1927         bool
1929 config ADK_TARGET_CPU_WITH_THUMB2
1930         bool
1932 config ADK_TARGET_CPU_WITH_VT
1933         bool
1935 config ADK_TARGET_CPU_WITH_MTRR
1936         bool
1938 config ADK_TARGET_CPU_WITH_ALTIVEC
1939         bool
1941 config ADK_TARGET_CPU_WITH_MMX
1942         bool
1944 config ADK_TARGET_CPU_WITH_MMXEXT
1945         bool
1947 config ADK_TARGET_CPU_WITH_SSE
1948         bool
1950 config ADK_TARGET_CPU_WITH_SSE2
1951         bool
1953 config ADK_TARGET_CPU_WITH_SSE3
1954         bool
1956 config ADK_TARGET_CPU_WITH_SSE4A
1957         bool
1959 config ADK_TARGET_CPU_WITH_SSE4_1
1960         bool
1962 config ADK_TARGET_CPU_WITH_SSE4_2
1963         bool
1965 config ADK_TARGET_CPU_WITH_SSSE3
1966         bool
1968 config ADK_TARGET_CPU_WITH_IWMMXT
1969         bool
1971 config ADK_TARGET_CPU_WITH_NEON
1972         bool
1974 config ADK_TARGET_CPU_WITH_HT
1975         bool
1977 config ADK_TARGET_CPU_WITH_3DNOW
1978         bool
1980 config ADK_TARGET_CPU_WITH_3DNOWEXT
1981         bool
1983 # for gcc --with-cpu
1984 config ADK_TARGET_GCC_CPU
1985         string
1986         default "51" if ADK_TARGET_CPU_CF_51
1987         default "5206" if ADK_TARGET_CPU_CF_5206
1988         default "5206e" if ADK_TARGET_CPU_CF_5206E
1989         default "5208" if ADK_TARGET_CPU_CF_5208
1990         default "5211a" if ADK_TARGET_CPU_CF_5211A
1991         default "5213" if ADK_TARGET_CPU_CF_5213
1992         default "5216" if ADK_TARGET_CPU_CF_5216
1993         default "52235" if ADK_TARGET_CPU_CF_52235
1994         default "5225" if ADK_TARGET_CPU_CF_5225
1995         default "52259" if ADK_TARGET_CPU_CF_52259
1996         default "5235" if ADK_TARGET_CPU_CF_5235
1997         default "5249" if ADK_TARGET_CPU_CF_5249
1998         default "5250" if ADK_TARGET_CPU_CF_5250
1999         default "5271" if ADK_TARGET_CPU_CF_5271
2000         default "5272" if ADK_TARGET_CPU_CF_5272
2001         default "5275" if ADK_TARGET_CPU_CF_5275
2002         default "5282" if ADK_TARGET_CPU_CF_5282
2003         default "53017" if ADK_TARGET_CPU_CF_53017
2004         default "5307" if ADK_TARGET_CPU_CF_5307
2005         default "5328" if ADK_TARGET_CPU_CF_5328
2006         default "5329" if ADK_TARGET_CPU_CF_5329
2007         default "5373" if ADK_TARGET_CPU_CF_5373
2008         default "5407" if ADK_TARGET_CPU_CF_5407
2009         default "5475" if ADK_TARGET_CPU_CF_5475
2010         default "54418" if ADK_TARGET_CPU_CF_54418
2011         default "68000" if ADK_TARGET_CPU_M68K_68000
2012         default "68020" if ADK_TARGET_CPU_M68K_68020
2013         default "68030" if ADK_TARGET_CPU_M68K_68030
2014         default "68040" if ADK_TARGET_CPU_M68K_68040
2015         default "68060" if ADK_TARGET_CPU_M68K_68060
2016         default "arc700" if ADK_TARGET_CPU_ARC_ARC700
2017         default "archs" if ADK_TARGET_CPU_ARC_ARCHS
2018         default "hs5x" if ADK_TARGET_CPU_ARC_ARC32
2019         default "arm920t" if ADK_TARGET_CPU_ARM_ARM920T
2020         default "arm1176jzf-s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
2021         default "arm926ej-s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
2022         default "cortex-a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
2023         default "cortex-a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
2024         default "cortex-a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
2025         default "cortex-a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
2026         default "cortex-a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
2027         default "cortex-a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
2028         default "cortex-a53" if ADK_TARGET_CPU_ARM_CORTEX_A53
2029         default "cortex-a57" if ADK_TARGET_CPU_ARM_CORTEX_A57
2030         default "cortex-a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
2031         default "cortex-a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
2032         default "cortex-a76" if ADK_TARGET_CPU_AARCH64_CORTEX_A76
2033         default "cortex-m0" if ADK_TARGET_CPU_ARM_CORTEX_M0
2034         default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
2035         default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
2036         default "cortex-m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
2037         default "ck807" if ADK_TARGET_CPU_CSKY_CK807
2038         default "ck810" if ADK_TARGET_CPU_CSKY_CK810
2039         default "ck807f" if ADK_TARGET_CPU_CSKY_CK807F
2040         default "ck810f" if ADK_TARGET_CPU_CSKY_CK810F
2041         default "ev4" if ADK_TARGET_CPU_ALPHA_EV4
2042         default "ev5" if ADK_TARGET_CPU_ALPHA_EV5
2043         default "ev6" if ADK_TARGET_CPU_ALPHA_EV6
2044         default "ev67" if ADK_TARGET_CPU_ALPHA_EV67
2045         default "leon" if ADK_TARGET_CPU_SPARC_LEON
2046         default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
2047         default "n13" if ADK_TARGET_CPU_NDS32
2048         default "powerpc" if ADK_TARGET_CPU_PPC
2049         default "powerpc64" if ADK_TARGET_CPU_PPC64_POWERPC64
2050         default "power4" if ADK_TARGET_CPU_PPC64_POWER4
2051         default "power5" if ADK_TARGET_CPU_PPC64_POWER5
2052         default "power6" if ADK_TARGET_CPU_PPC64_POWER6
2053         default "power7" if ADK_TARGET_CPU_PPC64_POWER7
2054         default "power8" if ADK_TARGET_CPU_PPC64_POWER8
2055         default "ultrasparc" if ADK_TARGET_CPU_SPARC64_V9
2056         default "v8" if ADK_TARGET_CPU_SPARC_V8
2057         default "xscale" if ADK_TARGET_CPU_ARM_XSCALE
2058         default "440" if ADK_TARGET_CPU_PPC_440
2059         default "740" if ADK_TARGET_CPU_PPC_740
2060         default "750" if ADK_TARGET_CPU_PPC_750
2061         default "7400" if ADK_TARGET_CPU_PPC_7400
2062         default "7450" if ADK_TARGET_CPU_PPC_7450
2063         default "8540" if ADK_TARGET_CPU_PPC_8540
2064         default "8548" if ADK_TARGET_CPU_PPC_8548
2065         default "970" if ADK_TARGET_CPU_PPC_970
2066         default "marvell-pj4" if ADK_TARGET_CPU_ARM_MVEBU
2068 # for gcc --with-arch
2069 config ADK_TARGET_GCC_ARCH
2070         string
2071         default "athlon" if ADK_TARGET_CPU_X86_64_ATHLON
2072         default "athlon-fx" if ADK_TARGET_CPU_X86_64_ATHLON_FX
2073         default "athlon64" if ADK_TARGET_CPU_X86_64_ATHLON_64
2074         default "athlon64-sse3" if ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
2075         default "atom" if ADK_TARGET_CPU_X86_ATOM
2076         default "barcelona" if ADK_TARGET_CPU_X86_64_BARCELONA
2077         default "bdver1" if ADK_TARGET_CPU_X86_64_BDVER1
2078         default "bdver2" if ADK_TARGET_CPU_X86_64_BDVER2
2079         default "bdver3" if ADK_TARGET_CPU_X86_64_BDVER3
2080         default "bdver4" if ADK_TARGET_CPU_X86_64_BDVER4
2081         default "bonnell" if ADK_TARGET_CPU_X86_64_BONNEL
2082         default "broadwell" if ADK_TARGET_CPU_X86_64_BROADWELL
2083         default "btver1" if ADK_TARGET_CPU_X86_64_BTVER1
2084         default "btver2" if ADK_TARGET_CPU_X86_64_BTVER2
2085         default "core2" if ADK_TARGET_CPU_X86_64_CORE2
2086         default "geode" if ADK_TARGET_CPU_X86_GEODE
2087         default "haswell" if ADK_TARGET_CPU_X86_64_HASWELL
2088         default "i486" if ADK_TARGET_CPU_X86_I486
2089         default "i586" if ADK_TARGET_CPU_X86_I586
2090         default "i686" if ADK_TARGET_CPU_X86_I686
2091         default "ivybridge" if ADK_TARGET_CPU_X86_64_IVYBRIDGE
2092         default "k8" if ADK_TARGET_CPU_X86_64_K8
2093         default "k8-sse3" if ADK_TARGET_CPU_X86_64_K8_SSE3
2094         default "knl" if ADK_TARGET_CPU_X86_64_KNL
2095         default "loongson2f" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
2096         default "r4400" if ADK_TARGET_CPU_MIPS_R4400
2097         default "r4600" if ADK_TARGET_CPU_MIPS_R4600
2098         default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
2099         default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
2100         default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
2101         default "mips1" if ADK_TARGET_CPU_MIPS64_MIPS1
2102         default "mips2" if ADK_TARGET_CPU_MIPS64_MIPS2
2103         default "mips3" if ADK_TARGET_CPU_MIPS64_MIPS3
2104         default "mips4" if ADK_TARGET_CPU_MIPS64_MIPS4
2105         default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
2106         default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
2107         default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
2108         default "nehalem" if ADK_TARGET_CPU_X86_64_NEHALEM
2109         default "nocona" if ADK_TARGET_CPU_X86_64_NOCONA
2110         default "opteron" if ADK_TARGET_CPU_X86_64_OPTERON
2111         default "opteron-sse3" if ADK_TARGET_CPU_X86_64_OPTERON_SSE3
2112         default "pentium-m" if ADK_TARGET_CPU_X86_PENTIUM_M
2113         default "sandybridge" if ADK_TARGET_CPU_X86_64_SANDYBRIDGE
2114         default "silvermont" if ADK_TARGET_CPU_X86_64_SILVERMONT
2115         default "westmere" if ADK_TARGET_CPU_X86_64_WESTMERE
2116         default "x86-64" if ADK_TARGET_CPU_X86_64
2117         default "z900" if ADK_TARGET_CPU_S390_Z900
2118         default "c674x" if ADK_TARGET_CPU_C6X
2119         default "rv32ima" if ADK_TARGET_CPU_RISCV32_RV32IMA
2120         default "rv32imac" if ADK_TARGET_CPU_RISCV32_RV32IMAC
2121         default "rv32imafc" if ADK_TARGET_CPU_RISCV32_RV32IMAFC
2122         default "rv32imadc" if ADK_TARGET_CPU_RISCV32_RV32IMADC
2123         default "rv32imafdc" if ADK_TARGET_CPU_RISCV32_RV32IMAFDC
2124         default "rv64ima" if ADK_TARGET_CPU_RISCV64_RV64IMA
2125         default "rv64imac" if ADK_TARGET_CPU_RISCV64_RV64IMAC
2126         default "rv64imafc" if ADK_TARGET_CPU_RISCV64_RV64IMAFC
2127         default "rv64imadc" if ADK_TARGET_CPU_RISCV64_RV64IMADC
2128         default "rv64imafdc" if ADK_TARGET_CPU_RISCV64_RV64IMAFDC
2129         default "kv3-1" if ADK_TARGET_ARCH_KVX
2131 # for CFLAGS/CXXFLAGS if gcc does not support --with-cpu
2132 config ADK_TARGET_CPU_FLAGS
2133         string
2134         default "-mcpu=bf512" if ADK_TARGET_CPU_BFIN_BF512
2135         default "-mcpu=bf514" if ADK_TARGET_CPU_BFIN_BF514
2136         default "-mcpu=bf516" if ADK_TARGET_CPU_BFIN_BF516
2137         default "-mcpu=bf518" if ADK_TARGET_CPU_BFIN_BF518
2138         default "-mcpu=bf522" if ADK_TARGET_CPU_BFIN_BF522
2139         default "-mcpu=bf523" if ADK_TARGET_CPU_BFIN_BF523
2140         default "-mcpu=bf524" if ADK_TARGET_CPU_BFIN_BF524
2141         default "-mcpu=bf525" if ADK_TARGET_CPU_BFIN_BF525
2142         default "-mcpu=bf526" if ADK_TARGET_CPU_BFIN_BF526
2143         default "-mcpu=bf527" if ADK_TARGET_CPU_BFIN_BF527
2144         default "-mcpu=bf531" if ADK_TARGET_CPU_BFIN_BF531
2145         default "-mcpu=bf532" if ADK_TARGET_CPU_BFIN_BF532
2146         default "-mcpu=bf533" if ADK_TARGET_CPU_BFIN_BF533
2147         default "-mcpu=bf534" if ADK_TARGET_CPU_BFIN_BF534
2148         default "-mcpu=bf536" if ADK_TARGET_CPU_BFIN_BF536
2149         default "-mcpu=bf537" if ADK_TARGET_CPU_BFIN_BF537
2150         default "-mcpu=bf538" if ADK_TARGET_CPU_BFIN_BF538
2151         default "-mcpu=bf539" if ADK_TARGET_CPU_BFIN_BF539
2152         default "-mcpu=bf542" if ADK_TARGET_CPU_BFIN_BF542
2153         default "-mcpu=bf544" if ADK_TARGET_CPU_BFIN_BF544
2154         default "-mcpu=bf547" if ADK_TARGET_CPU_BFIN_BF547
2155         default "-mcpu=bf548" if ADK_TARGET_CPU_BFIN_BF548
2156         default "-mcpu=bf549" if ADK_TARGET_CPU_BFIN_BF549
2157         default "-mcpu=bf542m" if ADK_TARGET_CPU_BFIN_BF542M
2158         default "-mcpu=bf544m" if ADK_TARGET_CPU_BFIN_BF544M
2159         default "-mcpu=bf547m" if ADK_TARGET_CPU_BFIN_BF547M
2160         default "-mcpu=bf548m" if ADK_TARGET_CPU_BFIN_BF548M
2161         default "-mcpu=bf549m" if ADK_TARGET_CPU_BFIN_BF549M
2162         default "-mcpu=bf561" if ADK_TARGET_CPU_BFIN_BF561
2163         default "-mcpu=bf592" if ADK_TARGET_CPU_BFIN_BF592
2164         default "-mcpu=ck807" if ADK_TARGET_CPU_CSKY_CK807
2165         default "-mcpu=ck810" if ADK_TARGET_CPU_CSKY_CK810
2166         default "-mcpu=ck807f" if ADK_TARGET_CPU_CSKY_CK807F
2167         default "-mcpu=ck810f" if ADK_TARGET_CPU_CSKY_CK810F
2168         default "-mcpu=v10" if ADK_TARGET_CPU_CRIS_CRISV10
2169         default "-mcpu=v32" if ADK_TARGET_CPU_CRIS_CRISV32
2170         default "-mh" if ADK_TARGET_CPU_H8300H
2171         default "-ms" if ADK_TARGET_CPU_H8S
2172         default "-mmetac=2.1" if ADK_TARGET_CPU_METAG
2173         default "-mcpu=v7.10.d" if ADK_TARGET_CPU_MICROBLAZE
2174         default "-mj2" if ADK_TARGET_CPU_SH_J2
2175         default "-m2" if ADK_TARGET_CPU_SH_SH2
2176         default "-m2a" if ADK_TARGET_CPU_SH_SH2A
2177         default "-m3" if ADK_TARGET_CPU_SH_SH3
2178         default "-m4" if ADK_TARGET_CPU_SH_SH4
2179         default "-m4a" if ADK_TARGET_CPU_SH_SH4A
2180         default "-mcpu=tilegx" if ADK_TARGET_CPU_TILE_TILEGX
2182 # ADK suffix
2183 config ADK_TARGET_CPU_TYPE
2184         string
2185         default "arc700" if ADK_TARGET_CPU_ARC_ARC700
2186         default "archs" if ADK_TARGET_CPU_ARC_ARCHS
2187         default "bf512" if ADK_TARGET_CPU_BFIN_BF512
2188         default "bf514" if ADK_TARGET_CPU_BFIN_BF514
2189         default "bf516" if ADK_TARGET_CPU_BFIN_BF516
2190         default "bf518" if ADK_TARGET_CPU_BFIN_BF518
2191         default "bf522" if ADK_TARGET_CPU_BFIN_BF522
2192         default "bf523" if ADK_TARGET_CPU_BFIN_BF523
2193         default "bf524" if ADK_TARGET_CPU_BFIN_BF524
2194         default "bf525" if ADK_TARGET_CPU_BFIN_BF525
2195         default "bf526" if ADK_TARGET_CPU_BFIN_BF526
2196         default "bf527" if ADK_TARGET_CPU_BFIN_BF527
2197         default "bf531" if ADK_TARGET_CPU_BFIN_BF531
2198         default "bf532" if ADK_TARGET_CPU_BFIN_BF532
2199         default "bf533" if ADK_TARGET_CPU_BFIN_BF533
2200         default "bf534" if ADK_TARGET_CPU_BFIN_BF534
2201         default "bf536" if ADK_TARGET_CPU_BFIN_BF536
2202         default "bf537" if ADK_TARGET_CPU_BFIN_BF537
2203         default "bf538" if ADK_TARGET_CPU_BFIN_BF538
2204         default "bf539" if ADK_TARGET_CPU_BFIN_BF539
2205         default "bf542" if ADK_TARGET_CPU_BFIN_BF542
2206         default "bf544" if ADK_TARGET_CPU_BFIN_BF544
2207         default "bf547" if ADK_TARGET_CPU_BFIN_BF547
2208         default "bf548" if ADK_TARGET_CPU_BFIN_BF548
2209         default "bf549" if ADK_TARGET_CPU_BFIN_BF549
2210         default "bf542m" if ADK_TARGET_CPU_BFIN_BF542M
2211         default "bf544m" if ADK_TARGET_CPU_BFIN_BF544M
2212         default "bf547m" if ADK_TARGET_CPU_BFIN_BF547M
2213         default "bf548m" if ADK_TARGET_CPU_BFIN_BF548M
2214         default "bf549m" if ADK_TARGET_CPU_BFIN_BF549M
2215         default "bf561" if ADK_TARGET_CPU_BFIN_BF561
2216         default "bf592" if ADK_TARGET_CPU_BFIN_BF592
2217         default "cf51" if ADK_TARGET_CPU_CF_51
2218         default "cf5206" if ADK_TARGET_CPU_CF_5206
2219         default "cf5206e" if ADK_TARGET_CPU_CF_5206E
2220         default "cf5208" if ADK_TARGET_CPU_CF_5208
2221         default "cf5211a" if ADK_TARGET_CPU_CF_5211A
2222         default "cf5213" if ADK_TARGET_CPU_CF_5213
2223         default "cf5216" if ADK_TARGET_CPU_CF_5216
2224         default "cf52235" if ADK_TARGET_CPU_CF_52235
2225         default "cf5225" if ADK_TARGET_CPU_CF_5225
2226         default "cf52259" if ADK_TARGET_CPU_CF_52259
2227         default "cf5235" if ADK_TARGET_CPU_CF_5235
2228         default "cf5249" if ADK_TARGET_CPU_CF_5249
2229         default "cf5250" if ADK_TARGET_CPU_CF_5250
2230         default "cf5271" if ADK_TARGET_CPU_CF_5271
2231         default "cf5272" if ADK_TARGET_CPU_CF_5272
2232         default "cf5275" if ADK_TARGET_CPU_CF_5275
2233         default "cf5282" if ADK_TARGET_CPU_CF_5282
2234         default "cf53017" if ADK_TARGET_CPU_CF_53017
2235         default "cf5307" if ADK_TARGET_CPU_CF_5307
2236         default "cf5328" if ADK_TARGET_CPU_CF_5328
2237         default "cf5329" if ADK_TARGET_CPU_CF_5329
2238         default "cf5373" if ADK_TARGET_CPU_CF_5373
2239         default "cf5407" if ADK_TARGET_CPU_CF_5407
2240         default "cf5475" if ADK_TARGET_CPU_CF_5475
2241         default "cf54418" if ADK_TARGET_CPU_CF_54418
2242         default "68000" if ADK_TARGET_CPU_M68K_68000
2243         default "68020" if ADK_TARGET_CPU_M68K_68020
2244         default "68030" if ADK_TARGET_CPU_M68K_68030
2245         default "68040" if ADK_TARGET_CPU_M68K_68040
2246         default "68060" if ADK_TARGET_CPU_M68K_68060
2247         default "cortex_a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
2248         default "cortex_a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
2249         default "cortex_a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
2250         default "cortex_a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
2251         default "cortex_a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
2252         default "cortex_a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
2253         default "cortex_m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
2254         default "cortex_m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
2255         default "cortex_m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
2256         default "arm920t" if ADK_TARGET_CPU_ARM_ARM920T
2257         default "arm1176jzf_s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
2258         default "arm926ej_s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
2259         default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
2260         default "cortex_a53" if ADK_TARGET_CPU_ARM_CORTEX_A53
2261         default "cortex_a57" if ADK_TARGET_CPU_ARM_CORTEX_A57
2262         default "cortex_a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
2263         default "cortex_a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
2264         default "microblaze" if ADK_TARGET_CPU_MICROBLAZE
2265         default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
2266         default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
2267         default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
2268         default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
2269         default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
2270         default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
2271         default "mips64" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
2272         default "ppc64" if ADK_TARGET_ARCH_PPC64
2273         default "nds32" if ADK_TARGET_CPU_NDS32
2274         default "v8" if ADK_TARGET_CPU_SPARC_V8
2275         default "v9" if ADK_TARGET_CPU_SPARC64_V9
2276         default "leon" if ADK_TARGET_CPU_SPARC_LEON
2277         default "dc233c" if ADK_TARGET_CPU_XTENSA_DC233C
2278         default "dc232b" if ADK_TARGET_CPU_XTENSA_DC232B
2279         default "de212" if ADK_TARGET_CPU_XTENSA_DE212
2280         default "kc705_be" if ADK_TARGET_CPU_XTENSA_KC705_BE
2281         default "fsf" if ADK_TARGET_CPU_XTENSA_FSF
2282         default "crisv10" if ADK_TARGET_CPU_CRIS_CRISV10
2283         default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
2284         default "sh" if ADK_TARGET_CPU_SH_SH
2285         default "j2" if ADK_TARGET_CPU_SH_J2
2286         default "sh2" if ADK_TARGET_CPU_SH_SH2
2287         default "sh2a" if ADK_TARGET_CPU_SH_SH2A
2288         default "sh3" if ADK_TARGET_CPU_SH_SH3
2289         default "sh4" if ADK_TARGET_CPU_SH_SH4
2290         default "sh4a" if ADK_TARGET_CPU_SH_SH4A
2292 # required for the correct toolchain triple
2293 config ADK_TARGET_CPU_ARCH
2294         string
2295         default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
2296         default "aarch64_be" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_BIG_ENDIAN
2297         default "alpha" if ADK_TARGET_ARCH_ALPHA
2298         default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
2299         default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
2300         default "arc32" if ADK_TARGET_ARCH_ARC && ADK_TARGET_CPU_ARC_ARC32
2301         default "arc64" if ADK_TARGET_ARCH_ARC && ADK_TARGET_CPU_ARC_ARC64
2302         default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
2303         default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
2304         default "avr32" if ADK_TARGET_ARCH_AVR32
2305         default "bfin" if ADK_TARGET_ARCH_BFIN
2306         default "c6x" if ADK_TARGET_ARCH_C6X
2307         default "cr16" if ADK_TARGET_ARCH_CR16
2308         default "cris" if ADK_TARGET_CPU_CRIS_CRISV10
2309         default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
2310         default "csky" if ADK_TARGET_ARCH_CSKY
2311         default "epiphany" if ADK_TARGET_ARCH_EPIPHANY
2312         default "frv" if ADK_TARGET_ARCH_FRV
2313         default "ft32" if ADK_TARGET_ARCH_FT32
2314         default "i486" if ADK_TARGET_CPU_X86_I486
2315         default "i586" if ADK_TARGET_CPU_X86_I586
2316         default "i686" if ADK_TARGET_CPU_X86_I686
2317         default "i586" if ADK_TARGET_CPU_X86_GEODE
2318         default "i686" if ADK_TARGET_CPU_X86_PENTIUM_M
2319         default "i686" if ADK_TARGET_CPU_X86_ATOM
2320         default "h8300" if ADK_TARGET_ARCH_H8300
2321         default "hppa" if ADK_TARGET_ARCH_HPPA
2322         default "ia64" if ADK_TARGET_ARCH_IA64
2323         default "kvx" if ADK_TARGET_ARCH_KVX
2324         default "lm32" if ADK_TARGET_ARCH_LM32
2325         default "loongarch64" if ADK_TARGET_ARCH_LOONGARCH
2326         default "m32c" if ADK_TARGET_ARCH_M32C
2327         default "m32r" if ADK_TARGET_ARCH_M32R
2328         default "m68k" if ADK_TARGET_ARCH_M68K
2329         default "metag" if ADK_TARGET_ARCH_METAG
2330         default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
2331         default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
2332         default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
2333         default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
2334         default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
2335         default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
2336         default "mn10300" if ADK_TARGET_ARCH_MN10300
2337         default "moxie" if ADK_TARGET_ARCH_MOXIE
2338         default "msp430" if ADK_TARGET_ARCH_MSP430
2339         default "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN
2340         default "nds32be" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_BIG_ENDIAN
2341         default "nios2" if ADK_TARGET_ARCH_NIOS2
2342         default "or1k" if ADK_TARGET_ARCH_OR1K
2343         default "ppc" if ADK_TARGET_ARCH_PPC
2344         default "ppc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
2345         default "ppc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
2346         default "riscv32" if ADK_TARGET_ARCH_RISCV32
2347         default "riscv64" if ADK_TARGET_ARCH_RISCV64
2348         default "rx" if ADK_TARGET_ARCH_RX
2349         default "s390x" if ADK_TARGET_ARCH_S390
2350         default "sh" if ADK_TARGET_CPU_SH_SH && ADK_TARGET_LITTLE_ENDIAN
2351         default "sh2" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_LITTLE_ENDIAN
2352         default "sh2eb" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_BIG_ENDIAN
2353         default "sh2eb" if ADK_TARGET_CPU_SH_J2 && ADK_TARGET_BIG_ENDIAN
2354         default "sh2a" if ADK_TARGET_CPU_SH_SH2A
2355         default "sh3" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_LITTLE_ENDIAN
2356         default "sh3eb" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_BIG_ENDIAN
2357         default "sh4" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_LITTLE_ENDIAN
2358         default "sh4eb" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_BIG_ENDIAN
2359         default "sh4a" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_LITTLE_ENDIAN
2360         default "sh4aeb" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_BIG_ENDIAN
2361         default "sparc" if ADK_TARGET_ARCH_SPARC
2362         default "sparc64" if ADK_TARGET_ARCH_SPARC64
2363         default "tilegx" if ADK_TARGET_CPU_TILE_TILEGX
2364         default "v850" if ADK_TARGET_ARCH_V850
2365         default "x86_64" if ADK_TARGET_ARCH_X86_64
2366         default "xtensa" if ADK_TARGET_ARCH_XTENSA