gcc: update gcc7
[openadk.git] / target / config / Config.in.cpu
blob0fe43fb00a5f77873c9d5b94b276d35d6a676d8f
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 # alpha
25 config ADK_TARGET_CPU_ALPHA_EV4
26         bool "ev4"
27         select ADK_LINUX_64
28         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
29         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
30         select ADK_TARGET_WITH_MMU
31         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
32         depends on ADK_TARGET_ARCH_ALPHA
34 config ADK_TARGET_CPU_ALPHA_EV5
35         bool "ev5"
36         select ADK_LINUX_64
37         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
38         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
39         select ADK_TARGET_WITH_MMU
40         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
41         depends on ADK_TARGET_ARCH_ALPHA
43 config ADK_TARGET_CPU_ALPHA_EV6
44         bool "ev6"
45         select ADK_LINUX_64
46         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
47         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
48         select ADK_TARGET_WITH_MMU
49         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
50         depends on ADK_TARGET_ARCH_ALPHA
52 config ADK_TARGET_CPU_ALPHA_EV67
53         bool "ev67"
54         select ADK_LINUX_64
55         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
56         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
57         select ADK_TARGET_WITH_MMU
58         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
59         depends on ADK_TARGET_ARCH_ALPHA
61 # arc
62 config ADK_TARGET_CPU_ARC_ARC700
63         bool "ARC700 (ARCv1)"
64         select ADK_TARGET_SUPPORTS_THREADS
65         select ADK_TARGET_SUPPORTS_NPTL
66         select ADK_TARGET_SUPPORTS_LT
67         select ADK_TARGET_WITH_MMU
68         depends on ADK_TARGET_ARCH_ARC
70 config ADK_TARGET_CPU_ARC_ARCHS
71         bool "ARC HS (ARCv2)"
72         select ADK_TARGET_SUPPORTS_THREADS
73         select ADK_TARGET_SUPPORTS_NPTL
74         select ADK_TARGET_SUPPORTS_LT
75         select ADK_TARGET_WITH_MMU
76         depends on ADK_TARGET_ARCH_ARC
78 # arm
79 config ADK_TARGET_CPU_ARM_ARM1176JZF_S
80         bool "arm1176jzf-s"
81         select ADK_TARGET_SUPPORTS_THREADS
82         select ADK_TARGET_SUPPORTS_NPTL
83         select ADK_TARGET_SUPPORTS_LT
84         select ADK_TARGET_CPU_WITH_FPU_VFP
85         depends on ADK_TARGET_ARCH_ARM
87 config ADK_TARGET_CPU_ARM_ARM926EJ_S
88         bool "arm926ej-s"
89         select ADK_TARGET_SUPPORTS_THREADS
90         select ADK_TARGET_SUPPORTS_NPTL
91         select ADK_TARGET_SUPPORTS_LT
92         select ADK_TARGET_CPU_WITH_THUMB
93         depends on ADK_TARGET_ARCH_ARM
95 config ADK_TARGET_CPU_ARM_ARM11MPCORE
96         bool "arm11mpcore"
97         select ADK_TARGET_SUPPORTS_THREADS
98         select ADK_TARGET_SUPPORTS_NPTL
99         select ADK_TARGET_SUPPORTS_LT
100         select ADK_TARGET_CPU_WITH_FPU_VFPV3
101         depends on ADK_TARGET_ARCH_ARM
103 config ADK_TARGET_CPU_ARM_CORTEX_A5
104         bool "cortex-a5"
105         select ADK_TARGET_SUPPORTS_THREADS
106         select ADK_TARGET_SUPPORTS_NPTL
107         select ADK_TARGET_SUPPORTS_LT
108         select ADK_TARGET_CPU_WITH_FPU_VFPV3
109         select ADK_TARGET_CPU_WITH_NEON
110         select ADK_TARGET_CPU_WITH_THUMB2
111         depends on ADK_TARGET_ARCH_ARM
113 config ADK_TARGET_CPU_ARM_CORTEX_A7
114         bool "cortex-a7"
115         select ADK_TARGET_SUPPORTS_THREADS
116         select ADK_TARGET_SUPPORTS_NPTL
117         select ADK_TARGET_SUPPORTS_LT
118         select ADK_TARGET_CPU_WITH_FPU_VFPV4
119         select ADK_TARGET_CPU_WITH_NEON
120         select ADK_TARGET_CPU_WITH_THUMB2
121         depends on ADK_TARGET_ARCH_ARM
123 config ADK_TARGET_CPU_ARM_CORTEX_A8
124         bool "cortex-a8"
125         select ADK_TARGET_SUPPORTS_THREADS
126         select ADK_TARGET_SUPPORTS_NPTL
127         select ADK_TARGET_SUPPORTS_LT
128         select ADK_TARGET_CPU_WITH_FPU_VFPV3
129         select ADK_TARGET_CPU_WITH_NEON
130         select ADK_TARGET_CPU_WITH_THUMB2
131         depends on ADK_TARGET_ARCH_ARM
133 config ADK_TARGET_CPU_ARM_CORTEX_A9
134         bool "cortex-a9"
135         select ADK_TARGET_SUPPORTS_THREADS
136         select ADK_TARGET_SUPPORTS_NPTL
137         select ADK_TARGET_SUPPORTS_LT
138         select ADK_TARGET_CPU_WITH_FPU_VFPV3
139         select ADK_TARGET_CPU_WITH_NEON
140         select ADK_TARGET_CPU_WITH_THUMB2
141         depends on ADK_TARGET_ARCH_ARM
143 config ADK_TARGET_CPU_ARM_CORTEX_A15
144         bool "cortex-a15"
145         select ADK_TARGET_SUPPORTS_THREADS
146         select ADK_TARGET_SUPPORTS_NPTL
147         select ADK_TARGET_SUPPORTS_LT
148         select ADK_TARGET_CPU_WITH_FPU_VFPV4
149         select ADK_TARGET_CPU_WITH_NEON
150         depends on ADK_TARGET_ARCH_ARM
152 config ADK_TARGET_CPU_ARM_CORTEX_A17
153         bool "cortex-a17"
154         select ADK_TARGET_SUPPORTS_THREADS
155         select ADK_TARGET_SUPPORTS_NPTL
156         select ADK_TARGET_SUPPORTS_LT
157         select ADK_TARGET_CPU_WITH_FPU_VFPV4
158         select ADK_TARGET_CPU_WITH_NEON
159         depends on ADK_TARGET_ARCH_ARM
161 config ADK_TARGET_CPU_ARM_CORTEX_A53
162         bool "cortex-a53"
163         select ADK_TARGET_SUPPORTS_THREADS
164         select ADK_TARGET_SUPPORTS_NPTL
165         select ADK_TARGET_SUPPORTS_LT
166         select ADK_TARGET_CPU_WITH_FPU_VFPV4
167         select ADK_TARGET_CPU_WITH_NEON
168         select ADK_TARGET_CPU_WITH_THUMB2
169         depends on ADK_TARGET_ARCH_ARM
171 config ADK_TARGET_CPU_ARM_CORTEX_A57
172         bool "cortex-a57"
173         select ADK_TARGET_SUPPORTS_THREADS
174         select ADK_TARGET_SUPPORTS_NPTL
175         select ADK_TARGET_SUPPORTS_LT
176         select ADK_TARGET_CPU_WITH_FPU_VFPV4
177         select ADK_TARGET_CPU_WITH_NEON
178         select ADK_TARGET_CPU_WITH_THUMB2
179         depends on ADK_TARGET_ARCH_ARM
181 config ADK_TARGET_CPU_ARM_CORTEX_M7
182         bool "cortex-m7"
183         select ADK_TARGET_SUPPORTS_THREADS
184         select ADK_TARGET_SUPPORTS_LT
185         select ADK_TARGET_CPU_WITH_THUMB2
186         select ADK_TARGET_CPU_WITH_FPU_FPV5
187         depends on ADK_TARGET_ARCH_ARM
189 config ADK_TARGET_CPU_ARM_CORTEX_M4
190         bool "cortex-m4"
191         select ADK_TARGET_SUPPORTS_THREADS
192         select ADK_TARGET_SUPPORTS_LT
193         select ADK_TARGET_CPU_WITH_THUMB2
194         select ADK_TARGET_CPU_WITH_FPU_FPV4
195         depends on ADK_TARGET_ARCH_ARM
197 config ADK_TARGET_CPU_ARM_CORTEX_M3
198         bool "cortex-m3"
199         select ADK_TARGET_SUPPORTS_THREADS
200         select ADK_TARGET_SUPPORTS_LT
201         select ADK_TARGET_CPU_WITH_THUMB2
202         depends on ADK_TARGET_ARCH_ARM
204 config ADK_TARGET_CPU_ARM_CORTEX_M0
205         bool "cortex-m0"
206         select ADK_TARGET_SUPPORTS_THREADS
207         select ADK_TARGET_SUPPORTS_LT
208         select ADK_TARGET_CPU_WITH_THUMB2
209         depends on ADK_TARGET_ARCH_ARM
211 config ADK_TARGET_CPU_ARM_XSCALE
212         bool "xscale"
213         select ADK_TARGET_SUPPORTS_THREADS
214         select ADK_TARGET_SUPPORTS_NPTL
215         select ADK_TARGET_SUPPORTS_LT
216         depends on ADK_TARGET_ARCH_ARM
218 # avr32
219 config ADK_TARGET_CPU_AVR32
220         bool "avr32"
221         select ADK_TARGET_SUPPORTS_THREADS
222         select ADK_TARGET_SUPPORTS_LT
223         select ADK_TARGET_WITH_MMU
224         depends on ADK_TARGET_ARCH_AVR32
226 # bfin
227 config ADK_TARGET_CPU_BFIN_BF512
228         bool "bf512"
229         select ADK_TARGET_SUPPORTS_THREADS
230         select ADK_TARGET_SUPPORTS_LT
231         depends on ADK_TARGET_ARCH_BFIN
233 config ADK_TARGET_CPU_BFIN_BF514
234         bool "bf514"
235         select ADK_TARGET_SUPPORTS_THREADS
236         select ADK_TARGET_SUPPORTS_LT
237         depends on ADK_TARGET_ARCH_BFIN
239 config ADK_TARGET_CPU_BFIN_BF516
240         bool "bf516"
241         select ADK_TARGET_SUPPORTS_THREADS
242         select ADK_TARGET_SUPPORTS_LT
243         depends on ADK_TARGET_ARCH_BFIN
245 config ADK_TARGET_CPU_BFIN_BF518
246         bool "bf518"
247         select ADK_TARGET_SUPPORTS_THREADS
248         select ADK_TARGET_SUPPORTS_LT
249         depends on ADK_TARGET_ARCH_BFIN
251 config ADK_TARGET_CPU_BFIN_BF522
252         bool "bf522"
253         select ADK_TARGET_SUPPORTS_THREADS
254         select ADK_TARGET_SUPPORTS_LT
255         depends on ADK_TARGET_ARCH_BFIN
257 config ADK_TARGET_CPU_BFIN_BF523
258         bool "bf523"
259         select ADK_TARGET_SUPPORTS_THREADS
260         select ADK_TARGET_SUPPORTS_LT
261         depends on ADK_TARGET_ARCH_BFIN
263 config ADK_TARGET_CPU_BFIN_BF524
264         bool "bf524"
265         select ADK_TARGET_SUPPORTS_THREADS
266         select ADK_TARGET_SUPPORTS_LT
267         depends on ADK_TARGET_ARCH_BFIN
269 config ADK_TARGET_CPU_BFIN_BF525
270         bool "bf525"
271         select ADK_TARGET_SUPPORTS_THREADS
272         select ADK_TARGET_SUPPORTS_LT
273         depends on ADK_TARGET_ARCH_BFIN
275 config ADK_TARGET_CPU_BFIN_BF526
276         bool "bf526"
277         select ADK_TARGET_SUPPORTS_THREADS
278         select ADK_TARGET_SUPPORTS_LT
279         depends on ADK_TARGET_ARCH_BFIN
281 config ADK_TARGET_CPU_BFIN_BF527
282         bool "bf527"
283         select ADK_TARGET_SUPPORTS_THREADS
284         select ADK_TARGET_SUPPORTS_LT
285         depends on ADK_TARGET_ARCH_BFIN
287 config ADK_TARGET_CPU_BFIN_BF531
288         bool "bf531"
289         select ADK_TARGET_SUPPORTS_THREADS
290         select ADK_TARGET_SUPPORTS_LT
291         depends on ADK_TARGET_ARCH_BFIN
293 config ADK_TARGET_CPU_BFIN_BF532
294         bool "bf532"
295         select ADK_TARGET_SUPPORTS_THREADS
296         select ADK_TARGET_SUPPORTS_LT
297         depends on ADK_TARGET_ARCH_BFIN
299 config ADK_TARGET_CPU_BFIN_BF533
300         bool "bf533"
301         select ADK_TARGET_SUPPORTS_THREADS
302         select ADK_TARGET_SUPPORTS_LT
303         depends on ADK_TARGET_ARCH_BFIN
305 config ADK_TARGET_CPU_BFIN_BF534
306         bool "bf534"
307         select ADK_TARGET_SUPPORTS_THREADS
308         select ADK_TARGET_SUPPORTS_LT
309         depends on ADK_TARGET_ARCH_BFIN
311 config ADK_TARGET_CPU_BFIN_BF536
312         bool "bf536"
313         select ADK_TARGET_SUPPORTS_THREADS
314         select ADK_TARGET_SUPPORTS_LT
315         depends on ADK_TARGET_ARCH_BFIN
317 config ADK_TARGET_CPU_BFIN_BF537
318         bool "bf537"
319         select ADK_TARGET_SUPPORTS_THREADS
320         select ADK_TARGET_SUPPORTS_LT
321         depends on ADK_TARGET_ARCH_BFIN
323 config ADK_TARGET_CPU_BFIN_BF538
324         bool "bf538"
325         select ADK_TARGET_SUPPORTS_THREADS
326         select ADK_TARGET_SUPPORTS_LT
327         depends on ADK_TARGET_ARCH_BFIN
329 config ADK_TARGET_CPU_BFIN_BF539
330         bool "bf539"
331         select ADK_TARGET_SUPPORTS_THREADS
332         select ADK_TARGET_SUPPORTS_LT
333         depends on ADK_TARGET_ARCH_BFIN
335 config ADK_TARGET_CPU_BFIN_BF542
336         bool "bf542"
337         select ADK_TARGET_SUPPORTS_THREADS
338         select ADK_TARGET_SUPPORTS_LT
339         depends on ADK_TARGET_ARCH_BFIN
341 config ADK_TARGET_CPU_BFIN_BF544
342         bool "bf544"
343         select ADK_TARGET_SUPPORTS_THREADS
344         select ADK_TARGET_SUPPORTS_LT
345         depends on ADK_TARGET_ARCH_BFIN
347 config ADK_TARGET_CPU_BFIN_BF547
348         bool "bf547"
349         select ADK_TARGET_SUPPORTS_THREADS
350         select ADK_TARGET_SUPPORTS_LT
351         depends on ADK_TARGET_ARCH_BFIN
353 config ADK_TARGET_CPU_BFIN_BF548
354         bool "bf548"
355         select ADK_TARGET_SUPPORTS_THREADS
356         select ADK_TARGET_SUPPORTS_LT
357         depends on ADK_TARGET_ARCH_BFIN
359 config ADK_TARGET_CPU_BFIN_BF549
360         bool "bf549"
361         select ADK_TARGET_SUPPORTS_THREADS
362         select ADK_TARGET_SUPPORTS_LT
363         depends on ADK_TARGET_ARCH_BFIN
365 config ADK_TARGET_CPU_BFIN_BF542M
366         bool "bf542m"
367         select ADK_TARGET_SUPPORTS_THREADS
368         select ADK_TARGET_SUPPORTS_LT
369         depends on ADK_TARGET_ARCH_BFIN
371 config ADK_TARGET_CPU_BFIN_BF544M
372         bool "bf544m"
373         select ADK_TARGET_SUPPORTS_THREADS
374         select ADK_TARGET_SUPPORTS_LT
375         depends on ADK_TARGET_ARCH_BFIN
377 config ADK_TARGET_CPU_BFIN_BF547M
378         bool "bf547m"
379         select ADK_TARGET_SUPPORTS_THREADS
380         select ADK_TARGET_SUPPORTS_LT
381         depends on ADK_TARGET_ARCH_BFIN
383 config ADK_TARGET_CPU_BFIN_BF548M
384         bool "bf548m"
385         select ADK_TARGET_SUPPORTS_THREADS
386         select ADK_TARGET_SUPPORTS_LT
387         depends on ADK_TARGET_ARCH_BFIN
389 config ADK_TARGET_CPU_BFIN_BF549M
390         bool "bf549m"
391         select ADK_TARGET_SUPPORTS_THREADS
392         select ADK_TARGET_SUPPORTS_LT
393         depends on ADK_TARGET_ARCH_BFIN
395 config ADK_TARGET_CPU_BFIN_BF561
396         bool "bf561"
397         select ADK_TARGET_SUPPORTS_THREADS
398         select ADK_TARGET_SUPPORTS_LT
399         depends on ADK_TARGET_ARCH_BFIN
401 config ADK_TARGET_CPU_BFIN_BF592
402         bool "bf592"
403         select ADK_TARGET_SUPPORTS_THREADS
404         select ADK_TARGET_SUPPORTS_LT
405         depends on ADK_TARGET_ARCH_BFIN
407 # c6x
408 config ADK_TARGET_CPU_C6X
409         bool "c6x"
410         select ADK_TARGET_SUPPORTS_THREADS
411         select ADK_TARGET_SUPPORTS_LT
412         select ADK_TARGET_UCLINUX
413         depends on ADK_TARGET_ARCH_C6X
415 # cr16
416 config ADK_TARGET_CPU_CR16
417         bool "cr16"
418         depends on ADK_TARGET_ARCH_CR16
420 # cris
421 config ADK_TARGET_CPU_CRIS_CRISV10
422         bool "crisv10"
423         select ADK_TARGET_SUPPORTS_THREADS
424         select ADK_TARGET_SUPPORTS_LT
425         select ADK_TARGET_WITH_MMU
426         depends on ADK_TARGET_ARCH_CRIS
428 config ADK_TARGET_CPU_CRIS_CRISV32
429         bool "crisv32"
430         select ADK_TARGET_SUPPORTS_THREADS
431         select ADK_TARGET_SUPPORTS_LT
432         select ADK_TARGET_WITH_MMU
433         depends on ADK_TARGET_ARCH_CRIS
435 # c-sky
436 config ADK_TARGET_CPU_CSKY_CK610
437         bool "ck610"
438         select ADK_TARGET_SUPPORTS_THREADS
439         select ADK_TARGET_SUPPORTS_LT
440         select ADK_TARGET_SUPPORTS_NPTL
441         select ADK_TARGET_WITH_MMU
442         depends on ADK_TARGET_ARCH_CSKY
444 config ADK_TARGET_CPU_CSKY_CK807
445         bool "ck807"
446         select ADK_TARGET_SUPPORTS_THREADS
447         select ADK_TARGET_SUPPORTS_LT
448         select ADK_TARGET_SUPPORTS_NPTL
449         select ADK_TARGET_WITH_MMU
450         depends on ADK_TARGET_ARCH_CSKY
452 config ADK_TARGET_CPU_CSKY_CK810
453         bool "ck810"
454         select ADK_TARGET_SUPPORTS_THREADS
455         select ADK_TARGET_SUPPORTS_LT
456         select ADK_TARGET_SUPPORTS_NPTL
457         select ADK_TARGET_WITH_MMU
458         depends on ADK_TARGET_ARCH_CSKY
460 # epiphany
461 config ADK_TARGET_CPU_EPIPHANY
462         bool "epiphany"
463         select ADK_TARGET_WITH_MMU
464         depends on ADK_TARGET_ARCH_EPIPHANY
466 # fr-v
467 config ADK_TARGET_CPU_FRV
468         bool "fr-v"
469         depends on ADK_TARGET_ARCH_FRV
471 # ft32
472 config ADK_TARGET_CPU_FT32
473         bool "ft32"
474         depends on ADK_TARGET_ARCH_FT32
476 # h8/300
477 config ADK_TARGET_CPU_H8300H
478         bool "h8300h"
479         depends on ADK_TARGET_ARCH_H8300
481 config ADK_TARGET_CPU_H8S
482         bool "h8s"
483         depends on ADK_TARGET_ARCH_H8300
485 # hppa
486 config ADK_TARGET_CPU_PARISC
487         bool "parisc"
488         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
489         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
490         select ADK_TARGET_WITH_MMU
491         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
492         depends on ADK_TARGET_ARCH_HPPA
494 # ia64
495 config ADK_TARGET_CPU_IA64
496         bool "ia64"
497         select ADK_TARGET_SUPPORTS_THREADS
498         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
499         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
500         select ADK_TARGET_WITH_MMU
501         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
502         depends on ADK_TARGET_ARCH_IA64
504 # lm32
505 config ADK_TARGET_CPU_LM32
506         bool "lm32"
507         select ADK_TARGET_UCLINUX
508         depends on ADK_TARGET_ARCH_LM32
510 # coldfire
511 config ADK_TARGET_CPU_CF_51
512         bool "coldfire 51"
513         select ADK_TARGET_SUPPORTS_THREADS
514         select ADK_TARGET_SUPPORTS_LT
515         select ADK_TARGET_CPU_CF
516         select ADK_TARGET_UCLINUX
517         depends on ADK_TARGET_ARCH_M68K
519 config ADK_TARGET_CPU_CF_5206
520         bool "coldfire 5206"
521         select ADK_TARGET_SUPPORTS_THREADS
522         select ADK_TARGET_SUPPORTS_LT
523         select ADK_TARGET_CPU_CF
524         select ADK_TARGET_UCLINUX
525         depends on ADK_TARGET_ARCH_M68K
527 config ADK_TARGET_CPU_CF_5206E
528         bool "coldfire 5206e"
529         select ADK_TARGET_SUPPORTS_THREADS
530         select ADK_TARGET_SUPPORTS_LT
531         select ADK_TARGET_CPU_CF
532         select ADK_TARGET_UCLINUX
533         depends on ADK_TARGET_ARCH_M68K
535 config ADK_TARGET_CPU_CF_5208
536         bool "coldfire 5208"
537         select ADK_TARGET_SUPPORTS_THREADS
538         select ADK_TARGET_SUPPORTS_LT
539         select ADK_TARGET_CPU_CF
540         select ADK_TARGET_UCLINUX
541         depends on ADK_TARGET_ARCH_M68K
543 config ADK_TARGET_CPU_CF_5211A
544         bool "coldfire 5211a"
545         select ADK_TARGET_SUPPORTS_THREADS
546         select ADK_TARGET_SUPPORTS_LT
547         select ADK_TARGET_CPU_CF
548         select ADK_TARGET_UCLINUX
549         depends on ADK_TARGET_ARCH_M68K
551 config ADK_TARGET_CPU_CF_5213
552         bool "coldfire 5213"
553         select ADK_TARGET_SUPPORTS_THREADS
554         select ADK_TARGET_SUPPORTS_LT
555         select ADK_TARGET_CPU_CF
556         select ADK_TARGET_UCLINUX
557         depends on ADK_TARGET_ARCH_M68K
559 config ADK_TARGET_CPU_CF_5216
560         bool "coldfire 5216"
561         select ADK_TARGET_SUPPORTS_THREADS
562         select ADK_TARGET_SUPPORTS_LT
563         select ADK_TARGET_CPU_CF
564         select ADK_TARGET_UCLINUX
565         depends on ADK_TARGET_ARCH_M68K
567 config ADK_TARGET_CPU_CF_52235
568         bool "coldfire 52235"
569         select ADK_TARGET_SUPPORTS_THREADS
570         select ADK_TARGET_SUPPORTS_LT
571         select ADK_TARGET_CPU_CF
572         select ADK_TARGET_UCLINUX
573         depends on ADK_TARGET_ARCH_M68K
575 config ADK_TARGET_CPU_CF_5225
576         bool "coldfire 5225"
577         select ADK_TARGET_SUPPORTS_THREADS
578         select ADK_TARGET_SUPPORTS_LT
579         select ADK_TARGET_CPU_CF
580         select ADK_TARGET_UCLINUX
581         depends on ADK_TARGET_ARCH_M68K
583 config ADK_TARGET_CPU_CF_52259
584         bool "coldfire 52259"
585         select ADK_TARGET_SUPPORTS_THREADS
586         select ADK_TARGET_SUPPORTS_LT
587         select ADK_TARGET_CPU_CF
588         select ADK_TARGET_UCLINUX
589         depends on ADK_TARGET_ARCH_M68K
591 config ADK_TARGET_CPU_CF_5235
592         bool "coldfire 5235"
593         select ADK_TARGET_SUPPORTS_THREADS
594         select ADK_TARGET_SUPPORTS_LT
595         select ADK_TARGET_CPU_CF
596         select ADK_TARGET_UCLINUX
597         depends on ADK_TARGET_ARCH_M68K
599 config ADK_TARGET_CPU_CF_5249
600         bool "coldfire 5249"
601         select ADK_TARGET_SUPPORTS_THREADS
602         select ADK_TARGET_SUPPORTS_LT
603         select ADK_TARGET_CPU_CF
604         select ADK_TARGET_UCLINUX
605         depends on ADK_TARGET_ARCH_M68K
607 config ADK_TARGET_CPU_CF_5250
608         bool "coldfire 5250"
609         select ADK_TARGET_SUPPORTS_THREADS
610         select ADK_TARGET_SUPPORTS_LT
611         select ADK_TARGET_CPU_CF
612         select ADK_TARGET_UCLINUX
613         depends on ADK_TARGET_ARCH_M68K
615 config ADK_TARGET_CPU_CF_5271
616         bool "coldfire 5271"
617         select ADK_TARGET_SUPPORTS_THREADS
618         select ADK_TARGET_SUPPORTS_LT
619         select ADK_TARGET_CPU_CF
620         select ADK_TARGET_UCLINUX
621         depends on ADK_TARGET_ARCH_M68K
623 config ADK_TARGET_CPU_CF_5272
624         bool "coldfire 5272"
625         select ADK_TARGET_SUPPORTS_THREADS
626         select ADK_TARGET_SUPPORTS_LT
627         select ADK_TARGET_CPU_CF
628         select ADK_TARGET_UCLINUX
629         depends on ADK_TARGET_ARCH_M68K
631 config ADK_TARGET_CPU_CF_5275
632         bool "coldfire 5275"
633         select ADK_TARGET_SUPPORTS_THREADS
634         select ADK_TARGET_SUPPORTS_LT
635         select ADK_TARGET_CPU_CF
636         select ADK_TARGET_UCLINUX
637         depends on ADK_TARGET_ARCH_M68K
639 config ADK_TARGET_CPU_CF_5282
640         bool "coldfire 5282"
641         select ADK_TARGET_SUPPORTS_THREADS
642         select ADK_TARGET_SUPPORTS_LT
643         select ADK_TARGET_CPU_CF
644         select ADK_TARGET_UCLINUX
645         depends on ADK_TARGET_ARCH_M68K
647 config ADK_TARGET_CPU_CF_53017
648         bool "coldfire 53017"
649         select ADK_TARGET_SUPPORTS_THREADS
650         select ADK_TARGET_SUPPORTS_LT
651         select ADK_TARGET_CPU_CF
652         select ADK_TARGET_UCLINUX
653         depends on ADK_TARGET_ARCH_M68K
655 config ADK_TARGET_CPU_CF_5307
656         bool "coldfire 5307"
657         select ADK_TARGET_SUPPORTS_THREADS
658         select ADK_TARGET_SUPPORTS_LT
659         select ADK_TARGET_CPU_CF
660         select ADK_TARGET_UCLINUX
661         depends on ADK_TARGET_ARCH_M68K
663 config ADK_TARGET_CPU_CF_5328
664         bool "coldfire 5328"
665         select ADK_TARGET_SUPPORTS_THREADS
666         select ADK_TARGET_SUPPORTS_LT
667         select ADK_TARGET_CPU_CF
668         select ADK_TARGET_UCLINUX
669         depends on ADK_TARGET_ARCH_M68K
671 config ADK_TARGET_CPU_CF_5329
672         bool "coldfire 5329"
673         select ADK_TARGET_SUPPORTS_THREADS
674         select ADK_TARGET_SUPPORTS_LT
675         select ADK_TARGET_CPU_CF
676         select ADK_TARGET_UCLINUX
677         depends on ADK_TARGET_ARCH_M68K
679 config ADK_TARGET_CPU_CF_5373
680         bool "coldfire 5373"
681         select ADK_TARGET_SUPPORTS_THREADS
682         select ADK_TARGET_SUPPORTS_LT
683         select ADK_TARGET_CPU_CF
684         select ADK_TARGET_UCLINUX
685         depends on ADK_TARGET_ARCH_M68K
687 config ADK_TARGET_CPU_CF_5407
688         bool "coldfire 5407"
689         select ADK_TARGET_SUPPORTS_THREADS
690         select ADK_TARGET_SUPPORTS_LT
691         select ADK_TARGET_CPU_CF
692         select ADK_TARGET_UCLINUX
693         depends on ADK_TARGET_ARCH_M68K
695 config ADK_TARGET_CPU_CF_5475
696         bool "coldfire 5475"
697         select ADK_TARGET_SUPPORTS_THREADS
698         select ADK_TARGET_SUPPORTS_LT
699         select ADK_TARGET_CPU_CF
700         select ADK_TARGET_WITH_MMU
701         depends on ADK_TARGET_ARCH_M68K
703 # m32c
704 config ADK_TARGET_CPU_M32C
705         bool "m32c"
706         select ADK_TARGET_WITH_MMU
707         depends on ADK_TARGET_ARCH_M32C
709 # m32r
710 config ADK_TARGET_CPU_M32R
711         bool "m32r"
712         select ADK_TARGET_WITH_MMU
713         depends on ADK_TARGET_ARCH_M32R
715 # m68k
716 config ADK_TARGET_CPU_M68K_68020
717         bool "68020"
718         select ADK_TARGET_SUPPORTS_THREADS
719         select ADK_TARGET_SUPPORTS_LT
720         select ADK_TARGET_SUPPORTS_NPTL
721         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
722         depends on ADK_TARGET_ARCH_M68K
724 config ADK_TARGET_CPU_M68K_68030
725         bool "68030"
726         select ADK_TARGET_SUPPORTS_THREADS
727         select ADK_TARGET_SUPPORTS_LT
728         select ADK_TARGET_SUPPORTS_NPTL
729         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
730         depends on ADK_TARGET_ARCH_M68K
732 config ADK_TARGET_CPU_M68K_68040
733         bool "68040"
734         select ADK_TARGET_SUPPORTS_THREADS
735         select ADK_TARGET_SUPPORTS_LT
736         select ADK_TARGET_SUPPORTS_NPTL
737         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
738         select ADK_TARGET_CPU_WITH_FPU
739         depends on ADK_TARGET_ARCH_M68K
741 config ADK_TARGET_CPU_M68K_68060
742         bool "68060"
743         select ADK_TARGET_SUPPORTS_THREADS
744         select ADK_TARGET_SUPPORTS_LT
745         select ADK_TARGET_SUPPORTS_NPTL
746         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
747         depends on ADK_TARGET_ARCH_M68K
749 # metag
750 config ADK_TARGET_CPU_METAG
751         bool "metag"
752         select ADK_TARGET_SUPPORTS_THREADS
753         select ADK_TARGET_SUPPORTS_LT
754         select ADK_TARGET_SUPPORTS_NPTL
755         select ADK_TARGET_WITH_MMU
756         depends on ADK_TARGET_ARCH_METAG
758 # microblaze
759 config ADK_TARGET_CPU_MICROBLAZE
760         bool "microblaze"
761         select ADK_TARGET_SUPPORTS_THREADS
762         select ADK_TARGET_SUPPORTS_LT
763         select ADK_TARGET_SUPPORTS_NPTL
764         select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
765         depends on ADK_TARGET_ARCH_MICROBLAZE
767 # mips32
768 config ADK_TARGET_CPU_MIPS_MIPS32
769         bool "mips32"
770         select ADK_TARGET_SUPPORTS_THREADS
771         select ADK_TARGET_SUPPORTS_LT
772         select ADK_TARGET_SUPPORTS_NPTL
773         select ADK_TARGET_WITH_MMU
774         select ADK_TARGET_CPU_WITH_FPU
775         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
776         select ADK_LINUX_KERNEL_CPU_MIPS32_R1 if ADK_TARGET_OS_LINUX
777         select ADK_WALDUX_KERNEL_CPU_MIPS32_R1 if ADK_TARGET_OS_WALDUX
778         depends on ADK_TARGET_ARCH_MIPS
780 config ADK_TARGET_CPU_MIPS_MIPS32R2
781         bool "mips32r2"
782         select ADK_TARGET_SUPPORTS_THREADS
783         select ADK_TARGET_SUPPORTS_LT
784         select ADK_TARGET_SUPPORTS_NPTL
785         select ADK_TARGET_WITH_MMU
786         select ADK_TARGET_CPU_WITH_FPU
787         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
788         select ADK_LINUX_KERNEL_CPU_MIPS32_R2 if ADK_TARGET_OS_LINUX
789         select ADK_WALDUX_KERNEL_CPU_MIPS32_R2 if ADK_TARGET_OS_WALDUX
790         depends on ADK_TARGET_ARCH_MIPS
792 config ADK_TARGET_CPU_MIPS_MIPS32R6
793         bool "mips32r6"
794         select ADK_TARGET_SUPPORTS_THREADS
795         select ADK_TARGET_SUPPORTS_LT
796         select ADK_TARGET_SUPPORTS_NPTL
797         select ADK_TARGET_WITH_MMU
798         select ADK_TARGET_CPU_WITH_FPU
799         select ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
800         select ADK_LINUX_KERNEL_CPU_MIPS32_R6 if ADK_TARGET_OS_LINUX
801         select ADK_WALDUX_KERNEL_CPU_MIPS32_R6 if ADK_TARGET_OS_WALDUX
802         depends on ADK_TARGET_ARCH_MIPS
804 config ADK_TARGET_CPU_MIPS_R4400
805         bool "r4400"
806         select ADK_TARGET_SUPPORTS_THREADS
807         select ADK_TARGET_SUPPORTS_LT
808         select ADK_TARGET_SUPPORTS_NPTL
809         select ADK_TARGET_WITH_MMU
810         select ADK_TARGET_CPU_WITH_FPU
811         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
812         depends on ADK_TARGET_ARCH_MIPS
814 config ADK_TARGET_CPU_MIPS_R4600
815         bool "r4600"
816         select ADK_TARGET_SUPPORTS_THREADS
817         select ADK_TARGET_SUPPORTS_LT
818         select ADK_TARGET_SUPPORTS_NPTL
819         select ADK_TARGET_WITH_MMU
820         select ADK_TARGET_CPU_WITH_FPU
821         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
822         depends on ADK_TARGET_ARCH_MIPS
824 # mips64
825 config ADK_TARGET_CPU_MIPS64_MIPS1
826         bool "mips1"
827         select ADK_LINUX_64
828         select ADK_TARGET_SUPPORTS_THREADS
829         select ADK_TARGET_SUPPORTS_LT
830         select ADK_TARGET_SUPPORTS_NPTL
831         select ADK_TARGET_WITH_MMU
832         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
833         depends on ADK_TARGET_ARCH_MIPS64
835 config ADK_TARGET_CPU_MIPS64_MIPS2
836         bool "mips2"
837         select ADK_LINUX_64
838         select ADK_TARGET_SUPPORTS_THREADS
839         select ADK_TARGET_SUPPORTS_LT
840         select ADK_TARGET_SUPPORTS_NPTL
841         select ADK_TARGET_WITH_MMU
842         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
843         depends on ADK_TARGET_ARCH_MIPS64
845 config ADK_TARGET_CPU_MIPS64_MIPS3
846         bool "mips3"
847         select ADK_LINUX_64
848         select ADK_TARGET_SUPPORTS_THREADS
849         select ADK_TARGET_SUPPORTS_LT
850         select ADK_TARGET_SUPPORTS_NPTL
851         select ADK_TARGET_WITH_MMU
852         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
853         depends on ADK_TARGET_ARCH_MIPS64
855 config ADK_TARGET_CPU_MIPS64_MIPS4
856         bool "mips4"
857         select ADK_LINUX_64
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         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
863         depends on ADK_TARGET_ARCH_MIPS64
865 config ADK_TARGET_CPU_MIPS64_MIPS64
866         bool "mips64"
867         select ADK_LINUX_64
868         select ADK_TARGET_SUPPORTS_THREADS
869         select ADK_TARGET_SUPPORTS_LT
870         select ADK_TARGET_SUPPORTS_NPTL
871         select ADK_TARGET_WITH_MMU
872         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
873         select ADK_LINUX_KERNEL_CPU_MIPS64_R1 if ADK_TARGET_OS_LINUX
874         select ADK_WALDUX_KERNEL_CPU_MIPS64_R1 if ADK_TARGET_OS_WALDUX
875         depends on ADK_TARGET_ARCH_MIPS64
877 config ADK_TARGET_CPU_MIPS64_MIPS64R2
878         bool "mips64r2"
879         select ADK_LINUX_64
880         select ADK_TARGET_SUPPORTS_THREADS
881         select ADK_TARGET_SUPPORTS_LT
882         select ADK_TARGET_SUPPORTS_NPTL
883         select ADK_TARGET_WITH_MMU
884         select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
885         select ADK_LINUX_KERNEL_CPU_MIPS64_R2 if ADK_TARGET_OS_LINUX
886         select ADK_WALDUX_KERNEL_CPU_MIPS64_R2 if ADK_TARGET_OS_WALDUX
887         depends on ADK_TARGET_ARCH_MIPS64
889 config ADK_TARGET_CPU_MIPS64_MIPS64R6
890         bool "mips64r6"
891         select ADK_LINUX_64
892         select ADK_TARGET_SUPPORTS_THREADS
893         select ADK_TARGET_SUPPORTS_LT
894         select ADK_TARGET_SUPPORTS_NPTL
895         select ADK_TARGET_WITH_MMU
896         select ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
897         select ADK_LINUX_KERNEL_CPU_MIPS64_R6 if ADK_TARGET_OS_LINUX
898         select ADK_WALDUX_KERNEL_CPU_MIPS64_R6 if ADK_TARGET_OS_WALDUX
899         depends on ADK_TARGET_ARCH_MIPS64
901 config ADK_TARGET_CPU_MIPS64_LOONGSON2F
902         bool "loongson2f"
903         select ADK_LINUX_64
904         select ADK_TARGET_SUPPORTS_THREADS
905         select ADK_TARGET_SUPPORTS_LT
906         select ADK_TARGET_SUPPORTS_NPTL
907         select ADK_TARGET_WITH_MMU
908         depends on ADK_TARGET_ARCH_MIPS64
910 # mn10300
911 config ADK_TARGET_CPU_MN10300
912         bool "mn10300"
913         depends on ADK_TARGET_ARCH_MN10300
915 # moxie
916 config ADK_TARGET_CPU_MOXIE
917         bool "moxie"
918         select ADK_TARGET_WITH_MMU
919         depends on ADK_TARGET_ARCH_MOXIE
921 # msp430
922 config ADK_TARGET_CPU_MSP430
923         bool "msp430"
924         depends on ADK_TARGET_ARCH_MSP430
926 # nds32
927 config ADK_TARGET_CPU_NDS32
928         bool "nds32"
929         select ADK_TARGET_SUPPORTS_THREADS
930         select ADK_TARGET_SUPPORTS_LT
931         select ADK_TARGET_SUPPORTS_NPTL
932         select ADK_TARGET_WITH_MMU
933         depends on ADK_TARGET_ARCH_NDS32
935 # nios2
936 config ADK_TARGET_CPU_NIOS2
937         bool "nios2"
938         select ADK_TARGET_SUPPORTS_THREADS
939         select ADK_TARGET_SUPPORTS_LT
940         select ADK_TARGET_SUPPORTS_NPTL
941         select ADK_TARGET_WITH_MMU
942         depends on ADK_TARGET_ARCH_NIOS2
944 # openrisc
945 config ADK_TARGET_CPU_OR1K
946         bool "or1k"
947         select ADK_TARGET_SUPPORTS_THREADS
948         select ADK_TARGET_SUPPORTS_LT
949         select ADK_TARGET_SUPPORTS_NPTL
950         select ADK_TARGET_WITH_MMU
951         depends on ADK_TARGET_ARCH_OR1K
953 # ppc32
954 config ADK_TARGET_CPU_PPC
955         bool "ppc"
956         select ADK_TARGET_SUPPORTS_THREADS
957         select ADK_TARGET_SUPPORTS_LT
958         select ADK_TARGET_SUPPORTS_NPTL
959         select ADK_TARGET_WITH_MMU
960         depends on ADK_TARGET_ARCH_PPC
962 config ADK_TARGET_CPU_PPC_440
963         bool "440"
964         select ADK_TARGET_SUPPORTS_THREADS
965         select ADK_TARGET_SUPPORTS_LT
966         select ADK_TARGET_SUPPORTS_NPTL
967         select ADK_TARGET_WITH_MMU
968         depends on ADK_TARGET_ARCH_PPC
970 config ADK_TARGET_CPU_PPC_740
971         bool "740"
972         select ADK_TARGET_SUPPORTS_THREADS
973         select ADK_TARGET_SUPPORTS_LT
974         select ADK_TARGET_SUPPORTS_NPTL
975         select ADK_TARGET_WITH_MMU
976         depends on ADK_TARGET_ARCH_PPC
978 config ADK_TARGET_CPU_PPC_7400
979         bool "7400"
980         select ADK_TARGET_SUPPORTS_THREADS
981         select ADK_TARGET_SUPPORTS_LT
982         select ADK_TARGET_SUPPORTS_NPTL
983         select ADK_TARGET_WITH_MMU
984         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
985         depends on ADK_TARGET_ARCH_PPC
987 config ADK_TARGET_CPU_PPC_7450
988         bool "7450"
989         select ADK_TARGET_SUPPORTS_THREADS
990         select ADK_TARGET_SUPPORTS_LT
991         select ADK_TARGET_SUPPORTS_NPTL
992         select ADK_TARGET_WITH_MMU
993         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
994         depends on ADK_TARGET_ARCH_PPC
996 config ADK_TARGET_CPU_PPC_750
997         bool "750"
998         select ADK_TARGET_SUPPORTS_THREADS
999         select ADK_TARGET_SUPPORTS_LT
1000         select ADK_TARGET_SUPPORTS_NPTL
1001         select ADK_TARGET_WITH_MMU
1002         depends on ADK_TARGET_ARCH_PPC
1004 config ADK_TARGET_CPU_PPC_8540
1005         bool "8540"
1006         select ADK_TARGET_SUPPORTS_THREADS
1007         select ADK_TARGET_SUPPORTS_LT
1008         select ADK_TARGET_SUPPORTS_NPTL
1009         select ADK_TARGET_WITH_MMU
1010         select ADK_TARGET_ARCH_PPC_WITH_SPE
1011         depends on ADK_TARGET_ARCH_PPC
1013 config ADK_TARGET_CPU_PPC_8548
1014         bool "8548"
1015         select ADK_TARGET_SUPPORTS_THREADS
1016         select ADK_TARGET_SUPPORTS_LT
1017         select ADK_TARGET_SUPPORTS_NPTL
1018         select ADK_TARGET_WITH_MMU
1019         select ADK_TARGET_ARCH_PPC_WITH_SPE
1020         depends on ADK_TARGET_ARCH_PPC
1022 config ADK_TARGET_CPU_PPC_E500MC
1023         bool "e500mc"
1024         select ADK_TARGET_SUPPORTS_THREADS
1025         select ADK_TARGET_SUPPORTS_LT
1026         select ADK_TARGET_SUPPORTS_NPTL
1027         select ADK_TARGET_WITH_MMU
1028         depends on ADK_TARGET_ARCH_PPC
1030 config ADK_TARGET_CPU_PPC_970
1031         bool "970"
1032         select ADK_TARGET_SUPPORTS_THREADS
1033         select ADK_TARGET_SUPPORTS_LT
1034         select ADK_TARGET_SUPPORTS_NPTL
1035         select ADK_TARGET_WITH_MMU
1036         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1037         depends on ADK_TARGET_ARCH_PPC
1039 # ppc64
1040 config ADK_TARGET_CPU_PPC64_POWER8
1041         bool "power8"
1042         select ADK_LINUX_64
1043         select ADK_TARGET_SUPPORTS_THREADS
1044         select ADK_TARGET_SUPPORTS_NPTL
1045         select ADK_TARGET_WITH_MMU
1046         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1047         depends on ADK_TARGET_ARCH_PPC64
1049 config ADK_TARGET_CPU_PPC64_POWER7
1050         bool "power7"
1051         select ADK_LINUX_64
1052         select ADK_TARGET_SUPPORTS_THREADS
1053         select ADK_TARGET_SUPPORTS_NPTL
1054         select ADK_TARGET_WITH_MMU
1055         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1056         depends on ADK_TARGET_ARCH_PPC64
1057         depends on ADK_TARGET_BIG_ENDIAN
1059 config ADK_TARGET_CPU_PPC64_POWER6
1060         bool "power6"
1061         select ADK_LINUX_64
1062         select ADK_TARGET_SUPPORTS_THREADS
1063         select ADK_TARGET_SUPPORTS_NPTL
1064         select ADK_TARGET_WITH_MMU
1065         select ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
1066         depends on ADK_TARGET_ARCH_PPC64
1067         depends on ADK_TARGET_BIG_ENDIAN
1069 config ADK_TARGET_CPU_PPC64_POWER5
1070         bool "power5"
1071         select ADK_LINUX_64
1072         select ADK_TARGET_SUPPORTS_THREADS
1073         select ADK_TARGET_SUPPORTS_NPTL
1074         select ADK_TARGET_WITH_MMU
1075         depends on ADK_TARGET_ARCH_PPC64
1076         depends on ADK_TARGET_BIG_ENDIAN
1078 config ADK_TARGET_CPU_PPC64_POWER4
1079         bool "power4"
1080         select ADK_LINUX_64
1081         select ADK_TARGET_SUPPORTS_THREADS
1082         select ADK_TARGET_SUPPORTS_NPTL
1083         select ADK_TARGET_WITH_MMU
1084         depends on ADK_TARGET_ARCH_PPC64
1085         depends on ADK_TARGET_BIG_ENDIAN
1087 config ADK_TARGET_CPU_PPC64_POWERPC64
1088         bool "powerpc64"
1089         select ADK_LINUX_64
1090         select ADK_TARGET_SUPPORTS_THREADS
1091         select ADK_TARGET_SUPPORTS_NPTL
1092         select ADK_TARGET_WITH_MMU
1093         depends on ADK_TARGET_ARCH_PPC64
1094         depends on ADK_TARGET_BIG_ENDIAN
1096 # riscv
1097 config ADK_TARGET_CPU_RISCV32_RV32IMAFDC
1098         bool "rv32imafdc"
1099         select ADK_TARGET_SUPPORTS_THREADS
1100         select ADK_TARGET_SUPPORTS_NPTL
1101         select ADK_TARGET_WITH_MMU
1102         select ADK_TARGET_ABI_ILP32D
1103         depends on ADK_TARGET_ARCH_RISCV32
1105 config ADK_TARGET_CPU_RISCV32_RV32IMAC
1106         bool "rv32imac"
1107         select ADK_TARGET_SUPPORTS_THREADS
1108         select ADK_TARGET_SUPPORTS_NPTL
1109         select ADK_TARGET_WITH_MMU
1110         select ADK_TARGET_ABI_ILP32
1111         depends on ADK_TARGET_ARCH_RISCV32
1113 config ADK_TARGET_CPU_RISCV64_RV64IMAFDC
1114         bool "rv64imafdc"
1115         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
1116         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
1117         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
1118         select ADK_TARGET_WITH_MMU
1119         select ADK_TARGET_ABI_LP64D
1120         depends on ADK_TARGET_ARCH_RISCV64
1122 config ADK_TARGET_CPU_RISCV64_RV64IMAC
1123         bool "rv64imac"
1124         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
1125         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
1126         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
1127         select ADK_TARGET_WITH_MMU
1128         select ADK_TARGET_ABI_LP64
1129         depends on ADK_TARGET_ARCH_RISCV64
1131 # rx
1132 config ADK_TARGET_CPU_RX
1133         bool "rx"
1134         depends on ADK_TARGET_ARCH_RX
1136 # s390
1137 config ADK_TARGET_CPU_S390_Z900
1138         bool "z900"
1139         select ADK_LINUX_64
1140         select ADK_TARGET_SUPPORTS_THREADS
1141         select ADK_TARGET_SUPPORTS_NPTL
1142         select ADK_TARGET_WITH_MMU
1143         depends on ADK_TARGET_ARCH_S390
1145 # sh
1146 config ADK_TARGET_CPU_SH_SH
1147         bool "sh"
1148         depends on ADK_TARGET_ARCH_SH
1150 config ADK_TARGET_CPU_SH_J2
1151         bool "j2"
1152         select ADK_TARGET_SUPPORTS_THREADS
1153         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
1154         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
1155         depends on ADK_TARGET_ARCH_SH
1157 config ADK_TARGET_CPU_SH_SH2
1158         bool "sh2"
1159         select ADK_TARGET_SUPPORTS_THREADS
1160         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
1161         select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
1162         depends on ADK_TARGET_ARCH_SH
1164 config ADK_TARGET_CPU_SH_SH2A
1165         bool "sh2a"
1166         select ADK_TARGET_SUPPORTS_THREADS
1167         select ADK_TARGET_SUPPORTS_LT
1168         depends on ADK_TARGET_ARCH_SH
1170 config ADK_TARGET_CPU_SH_SH3
1171         bool "sh3"
1172         select ADK_TARGET_SUPPORTS_THREADS
1173         select ADK_TARGET_SUPPORTS_NPTL
1174         select ADK_TARGET_SUPPORTS_LT
1175         select ADK_TARGET_WITH_MMU
1176         depends on ADK_TARGET_ARCH_SH
1178 config ADK_TARGET_CPU_SH_SH4
1179         bool "sh4"
1180         select ADK_TARGET_SUPPORTS_THREADS
1181         select ADK_TARGET_SUPPORTS_NPTL
1182         select ADK_TARGET_SUPPORTS_LT
1183         select ADK_TARGET_WITH_MMU
1184         depends on ADK_TARGET_ARCH_SH
1186 config ADK_TARGET_CPU_SH_SH4A
1187         bool "sh4a"
1188         select ADK_TARGET_SUPPORTS_THREADS
1189         select ADK_TARGET_SUPPORTS_NPTL
1190         select ADK_TARGET_SUPPORTS_LT
1191         select ADK_TARGET_WITH_MMU
1192         depends on ADK_TARGET_ARCH_SH
1194 # sparc
1195 config ADK_TARGET_CPU_SPARC_V8
1196         bool "v8"
1197         select ADK_TARGET_SUPPORTS_THREADS
1198         select ADK_TARGET_SUPPORTS_NPTL
1199         select ADK_TARGET_SUPPORTS_LT
1200         select ADK_TARGET_WITH_MMU
1201         depends on ADK_TARGET_ARCH_SPARC
1203 config ADK_TARGET_CPU_SPARC_V7
1204         bool "v7"
1205         select ADK_TARGET_SUPPORTS_THREADS
1206         select ADK_TARGET_SUPPORTS_NPTL
1207         select ADK_TARGET_SUPPORTS_LT
1208         select ADK_TARGET_WITH_MMU
1209         depends on ADK_TARGET_ARCH_SPARC
1211 config ADK_TARGET_CPU_SPARC_LEON
1212         bool "leon"
1213         select ADK_TARGET_SUPPORTS_THREADS
1214         select ADK_TARGET_SUPPORTS_NPTL
1215         select ADK_TARGET_SUPPORTS_LT
1216         select ADK_TARGET_WITH_MMU
1217         depends on ADK_TARGET_ARCH_SPARC
1219 # sparc64
1220 config ADK_TARGET_CPU_SPARC64_V9
1221         bool "v9"
1222         select ADK_LINUX_64
1223         select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
1224         select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
1225         select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
1226         select ADK_TARGET_WITH_MMU
1227         depends on ADK_TARGET_ARCH_SPARC64
1229 # tile
1230 config ADK_TARGET_CPU_TILE_TILEGX
1231         bool "tilegx"
1232         select ADK_LINUX_64
1233         select ADK_TARGET_SUPPORTS_THREADS
1234         select ADK_TARGET_SUPPORTS_NPTL
1235         select ADK_TARGET_WITH_MMU
1236         depends on ADK_TARGET_ARCH_TILE
1238 # v850
1239 config ADK_TARGET_CPU_V850
1240         bool "v850"
1241         depends on ADK_TARGET_ARCH_V850
1243 # x86
1244 config ADK_TARGET_CPU_X86_I486
1245         bool "i486"
1246         select ADK_TARGET_SUPPORTS_THREADS
1247         select ADK_TARGET_SUPPORTS_NPTL
1248         select ADK_TARGET_SUPPORTS_LT
1249         select ADK_TARGET_WITH_MMU
1250         depends on ADK_TARGET_ARCH_X86
1252 config ADK_TARGET_CPU_X86_I586
1253         bool "i586"
1254         select ADK_TARGET_SUPPORTS_THREADS
1255         select ADK_TARGET_SUPPORTS_NPTL
1256         select ADK_TARGET_SUPPORTS_LT
1257         select ADK_TARGET_WITH_MMU
1258         depends on ADK_TARGET_ARCH_X86
1260 config ADK_TARGET_CPU_X86_I686
1261         bool "i686"
1262         select ADK_TARGET_SUPPORTS_THREADS
1263         select ADK_TARGET_SUPPORTS_NPTL
1264         select ADK_TARGET_SUPPORTS_LT
1265         select ADK_TARGET_WITH_MMU
1266         depends on ADK_TARGET_ARCH_X86
1268 config ADK_TARGET_CPU_X86_GEODE
1269         bool "geode"
1270         select ADK_TARGET_SUPPORTS_THREADS
1271         select ADK_TARGET_SUPPORTS_NPTL
1272         select ADK_TARGET_SUPPORTS_LT
1273         select ADK_TARGET_WITH_MMU
1274         depends on ADK_TARGET_ARCH_X86
1276 config ADK_TARGET_CPU_X86_ATOM
1277         bool "atom"
1278         select ADK_TARGET_SUPPORTS_THREADS
1279         select ADK_TARGET_SUPPORTS_NPTL
1280         select ADK_TARGET_SUPPORTS_LT
1281         select ADK_TARGET_WITH_MMU
1282         depends on ADK_TARGET_ARCH_X86
1284 config ADK_TARGET_CPU_X86_PENTIUM_M
1285         bool "pentium-m"
1286         select ADK_TARGET_SUPPORTS_THREADS
1287         select ADK_TARGET_SUPPORTS_NPTL
1288         select ADK_TARGET_SUPPORTS_LT
1289         select ADK_TARGET_WITH_MMU
1290         depends on ADK_TARGET_ARCH_X86
1292 # x86_64
1293 config ADK_TARGET_CPU_X86_64
1294         bool "Generic x86_64"
1295         select ADK_LINUX_64
1296         select ADK_TARGET_SUPPORTS_THREADS
1297         select ADK_TARGET_SUPPORTS_NPTL
1298         select ADK_TARGET_SUPPORTS_LT
1299         select ADK_TARGET_WITH_MMU
1300         depends on ADK_TARGET_ARCH_X86_64
1302 config ADK_TARGET_CPU_X86_64_ATHLON_FX
1303         bool "Athlon 64 FX"
1304         select ADK_LINUX_64
1305         select ADK_TARGET_SUPPORTS_THREADS
1306         select ADK_TARGET_SUPPORTS_NPTL
1307         select ADK_TARGET_SUPPORTS_LT
1308         select ADK_TARGET_WITH_MMU
1309         select ADK_TARGET_CPU_WITH_VT
1310         select ADK_TARGET_CPU_WITH_MMX
1311         select ADK_TARGET_CPU_WITH_SSE
1312         select ADK_TARGET_CPU_WITH_SSE2
1313         select ADK_TARGET_CPU_WITH_3DNOW
1314         select ADK_TARGET_CPU_WITH_3DNOWEXT
1315         depends on ADK_TARGET_ARCH_X86_64
1317 config ADK_TARGET_CPU_X86_64_ATHLON_64
1318         bool "Athlon 64"
1319         select ADK_LINUX_64
1320         select ADK_TARGET_SUPPORTS_THREADS
1321         select ADK_TARGET_SUPPORTS_NPTL
1322         select ADK_TARGET_SUPPORTS_LT
1323         select ADK_TARGET_WITH_MMU
1324         select ADK_TARGET_CPU_WITH_VT
1325         select ADK_TARGET_CPU_WITH_MMX
1326         select ADK_TARGET_CPU_WITH_SSE
1327         select ADK_TARGET_CPU_WITH_SSE2
1328         select ADK_TARGET_CPU_WITH_3DNOW
1329         select ADK_TARGET_CPU_WITH_3DNOWEXT
1330         depends on ADK_TARGET_ARCH_X86_64
1332 config ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
1333         bool "Athlon 64 with SSE3"
1334         select ADK_LINUX_64
1335         select ADK_TARGET_SUPPORTS_THREADS
1336         select ADK_TARGET_SUPPORTS_NPTL
1337         select ADK_TARGET_SUPPORTS_LT
1338         select ADK_TARGET_WITH_MMU
1339         select ADK_TARGET_CPU_WITH_VT
1340         select ADK_TARGET_CPU_WITH_MMX
1341         select ADK_TARGET_CPU_WITH_SSE
1342         select ADK_TARGET_CPU_WITH_SSE2
1343         select ADK_TARGET_CPU_WITH_SSE3
1344         select ADK_TARGET_CPU_WITH_3DNOW
1345         select ADK_TARGET_CPU_WITH_3DNOWEXT
1346         depends on ADK_TARGET_ARCH_X86_64
1348 config ADK_TARGET_CPU_X86_64_BARCELONA
1349         bool "Barcelona"
1350         select ADK_LINUX_64
1351         select ADK_TARGET_SUPPORTS_THREADS
1352         select ADK_TARGET_SUPPORTS_NPTL
1353         select ADK_TARGET_SUPPORTS_LT
1354         select ADK_TARGET_WITH_MMU
1355         select ADK_TARGET_CPU_WITH_VT
1356         select ADK_TARGET_CPU_WITH_MMX
1357         select ADK_TARGET_CPU_WITH_SSE
1358         select ADK_TARGET_CPU_WITH_SSE2
1359         select ADK_TARGET_CPU_WITH_SSE3
1360         select ADK_TARGET_CPU_WITH_SSE4A
1361         select ADK_TARGET_CPU_WITH_3DNOW
1362         select ADK_TARGET_CPU_WITH_3DNOWEXT
1363         depends on ADK_TARGET_ARCH_X86_64
1365 config ADK_TARGET_CPU_X86_64_BDVER1
1366         bool "bdver1"
1367         select ADK_LINUX_64
1368         select ADK_TARGET_SUPPORTS_THREADS
1369         select ADK_TARGET_SUPPORTS_NPTL
1370         select ADK_TARGET_SUPPORTS_LT
1371         select ADK_TARGET_WITH_MMU
1372         select ADK_TARGET_CPU_WITH_VT
1373         select ADK_TARGET_CPU_WITH_MMX
1374         select ADK_TARGET_CPU_WITH_SSE
1375         select ADK_TARGET_CPU_WITH_SSE2
1376         select ADK_TARGET_CPU_WITH_SSE3
1377         select ADK_TARGET_CPU_WITH_SSE4A
1378         select ADK_TARGET_CPU_WITH_SSE4_1
1379         select ADK_TARGET_CPU_WITH_SSE4_2
1380         select ADK_TARGET_CPU_WITH_SSSE3
1381         depends on ADK_TARGET_ARCH_X86_64
1383 config ADK_TARGET_CPU_X86_64_BDVER2
1384         bool "bdver2"
1385         select ADK_LINUX_64
1386         select ADK_TARGET_SUPPORTS_THREADS
1387         select ADK_TARGET_SUPPORTS_NPTL
1388         select ADK_TARGET_SUPPORTS_LT
1389         select ADK_TARGET_WITH_MMU
1390         select ADK_TARGET_CPU_WITH_VT
1391         select ADK_TARGET_CPU_WITH_MMX
1392         select ADK_TARGET_CPU_WITH_SSE
1393         select ADK_TARGET_CPU_WITH_SSE2
1394         select ADK_TARGET_CPU_WITH_SSE3
1395         select ADK_TARGET_CPU_WITH_SSE4A
1396         select ADK_TARGET_CPU_WITH_SSE4_1
1397         select ADK_TARGET_CPU_WITH_SSE4_2
1398         select ADK_TARGET_CPU_WITH_SSSE3
1399         depends on ADK_TARGET_ARCH_X86_64
1401 config ADK_TARGET_CPU_X86_64_BDVER3
1402         bool "bdver3"
1403         select ADK_LINUX_64
1404         select ADK_TARGET_SUPPORTS_THREADS
1405         select ADK_TARGET_SUPPORTS_NPTL
1406         select ADK_TARGET_SUPPORTS_LT
1407         select ADK_TARGET_WITH_MMU
1408         select ADK_TARGET_CPU_WITH_VT
1409         select ADK_TARGET_CPU_WITH_MMX
1410         select ADK_TARGET_CPU_WITH_SSE
1411         select ADK_TARGET_CPU_WITH_SSE2
1412         select ADK_TARGET_CPU_WITH_SSE3
1413         select ADK_TARGET_CPU_WITH_SSE4A
1414         select ADK_TARGET_CPU_WITH_SSE4_1
1415         select ADK_TARGET_CPU_WITH_SSE4_2
1416         select ADK_TARGET_CPU_WITH_SSSE3
1417         depends on ADK_TARGET_ARCH_X86_64
1419 config ADK_TARGET_CPU_X86_64_BDVER4
1420         bool "bdver4"
1421         select ADK_LINUX_64
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         select ADK_TARGET_CPU_WITH_VT
1427         select ADK_TARGET_CPU_WITH_MMX
1428         select ADK_TARGET_CPU_WITH_SSE
1429         select ADK_TARGET_CPU_WITH_SSE2
1430         select ADK_TARGET_CPU_WITH_SSE3
1431         select ADK_TARGET_CPU_WITH_SSE4A
1432         select ADK_TARGET_CPU_WITH_SSE4_1
1433         select ADK_TARGET_CPU_WITH_SSE4_2
1434         select ADK_TARGET_CPU_WITH_SSSE3
1435         depends on ADK_TARGET_ARCH_X86_64
1437 config ADK_TARGET_CPU_X86_64_BONNELL
1438         bool "Bonnell"
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         select ADK_TARGET_CPU_WITH_MMX
1445         select ADK_TARGET_CPU_WITH_SSE
1446         select ADK_TARGET_CPU_WITH_SSE2
1447         select ADK_TARGET_CPU_WITH_SSE3
1448         select ADK_TARGET_CPU_WITH_SSSE3
1449         depends on ADK_TARGET_ARCH_X86_64
1451 config ADK_TARGET_CPU_X86_64_BROADWELL
1452         bool "Broadwell"
1453         select ADK_LINUX_64
1454         select ADK_TARGET_SUPPORTS_THREADS
1455         select ADK_TARGET_SUPPORTS_NPTL
1456         select ADK_TARGET_SUPPORTS_LT
1457         select ADK_TARGET_WITH_MMU
1458         select ADK_TARGET_CPU_WITH_VT
1459         select ADK_TARGET_CPU_WITH_MMX
1460         select ADK_TARGET_CPU_WITH_SSE
1461         select ADK_TARGET_CPU_WITH_SSE2
1462         select ADK_TARGET_CPU_WITH_SSE3
1463         select ADK_TARGET_CPU_WITH_SSSE3
1464         depends on ADK_TARGET_ARCH_X86_64
1466 config ADK_TARGET_CPU_X86_64_BTVER1
1467         bool "btver1"
1468         select ADK_LINUX_64
1469         select ADK_TARGET_SUPPORTS_THREADS
1470         select ADK_TARGET_SUPPORTS_NPTL
1471         select ADK_TARGET_SUPPORTS_LT
1472         select ADK_TARGET_WITH_MMU
1473         select ADK_TARGET_CPU_WITH_VT
1474         select ADK_TARGET_CPU_WITH_MMX
1475         select ADK_TARGET_CPU_WITH_SSE
1476         select ADK_TARGET_CPU_WITH_SSE2
1477         select ADK_TARGET_CPU_WITH_SSE3
1478         select ADK_TARGET_CPU_WITH_SSE4A
1479         select ADK_TARGET_CPU_WITH_SSSE3
1480         depends on ADK_TARGET_ARCH_X86_64
1482 config ADK_TARGET_CPU_X86_64_BTVER2
1483         bool "btver2"
1484         select ADK_LINUX_64
1485         select ADK_TARGET_SUPPORTS_THREADS
1486         select ADK_TARGET_SUPPORTS_NPTL
1487         select ADK_TARGET_SUPPORTS_LT
1488         select ADK_TARGET_WITH_MMU
1489         select ADK_TARGET_CPU_WITH_VT
1490         select ADK_TARGET_CPU_WITH_MMX
1491         select ADK_TARGET_CPU_WITH_SSE
1492         select ADK_TARGET_CPU_WITH_SSE2
1493         select ADK_TARGET_CPU_WITH_SSE3
1494         select ADK_TARGET_CPU_WITH_SSE4A
1495         select ADK_TARGET_CPU_WITH_SSE4_1
1496         select ADK_TARGET_CPU_WITH_SSE4_2
1497         select ADK_TARGET_CPU_WITH_SSSE3
1498         depends on ADK_TARGET_ARCH_X86_64
1500 config ADK_TARGET_CPU_X86_64_CORE2
1501         bool "Core 2"
1502         select ADK_LINUX_64
1503         select ADK_TARGET_SUPPORTS_THREADS
1504         select ADK_TARGET_SUPPORTS_NPTL
1505         select ADK_TARGET_SUPPORTS_LT
1506         select ADK_TARGET_WITH_MMU
1507         select ADK_TARGET_CPU_WITH_VT
1508         select ADK_TARGET_CPU_WITH_MMX
1509         select ADK_TARGET_CPU_WITH_SSE
1510         select ADK_TARGET_CPU_WITH_SSE2
1511         select ADK_TARGET_CPU_WITH_SSE3
1512         select ADK_TARGET_CPU_WITH_SSSE3
1513         depends on ADK_TARGET_ARCH_X86_64
1515 config ADK_TARGET_CPU_X86_64_HASWELL
1516         bool "Haswell"
1517         select ADK_LINUX_64
1518         select ADK_TARGET_SUPPORTS_THREADS
1519         select ADK_TARGET_SUPPORTS_NPTL
1520         select ADK_TARGET_SUPPORTS_LT
1521         select ADK_TARGET_WITH_MMU
1522         select ADK_TARGET_CPU_WITH_VT
1523         select ADK_TARGET_CPU_WITH_MMX
1524         select ADK_TARGET_CPU_WITH_SSE
1525         select ADK_TARGET_CPU_WITH_SSE2
1526         select ADK_TARGET_CPU_WITH_SSE3
1527         select ADK_TARGET_CPU_WITH_SSE4_1
1528         select ADK_TARGET_CPU_WITH_SSE4_2
1529         select ADK_TARGET_CPU_WITH_SSSE3
1530         depends on ADK_TARGET_ARCH_X86_64
1532 config ADK_TARGET_CPU_X86_64_IVYBRIDGE
1533         bool "Ivybridge"
1534         select ADK_LINUX_64
1535         select ADK_TARGET_SUPPORTS_THREADS
1536         select ADK_TARGET_SUPPORTS_NPTL
1537         select ADK_TARGET_SUPPORTS_LT
1538         select ADK_TARGET_WITH_MMU
1539         select ADK_TARGET_CPU_WITH_VT
1540         select ADK_TARGET_CPU_WITH_MMX
1541         select ADK_TARGET_CPU_WITH_SSE
1542         select ADK_TARGET_CPU_WITH_SSE2
1543         select ADK_TARGET_CPU_WITH_SSE3
1544         select ADK_TARGET_CPU_WITH_SSE4_1
1545         select ADK_TARGET_CPU_WITH_SSE4_2
1546         select ADK_TARGET_CPU_WITH_SSSE3
1547         depends on ADK_TARGET_ARCH_X86_64
1549 config ADK_TARGET_CPU_X86_64_K8
1550         bool "K8"
1551         select ADK_LINUX_64
1552         select ADK_TARGET_SUPPORTS_THREADS
1553         select ADK_TARGET_SUPPORTS_NPTL
1554         select ADK_TARGET_SUPPORTS_LT
1555         select ADK_TARGET_WITH_MMU
1556         select ADK_TARGET_CPU_WITH_MMX
1557         select ADK_TARGET_CPU_WITH_SSE
1558         select ADK_TARGET_CPU_WITH_SSE2
1559         select ADK_TARGET_CPU_WITH_3DNOW
1560         select ADK_TARGET_CPU_WITH_3DNOWEXT
1561         depends on ADK_TARGET_ARCH_X86_64
1563 config ADK_TARGET_CPU_X86_64_K8_SSE3
1564         bool "K8 with SSE3"
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_3DNOW
1576         select ADK_TARGET_CPU_WITH_3DNOWEXT
1577         depends on ADK_TARGET_ARCH_X86_64
1579 config ADK_TARGET_CPU_X86_64_KNL
1580         bool "knl"
1581         select ADK_LINUX_64
1582         select ADK_TARGET_SUPPORTS_THREADS
1583         select ADK_TARGET_SUPPORTS_NPTL
1584         select ADK_TARGET_SUPPORTS_LT
1585         select ADK_TARGET_WITH_MMU
1586         select ADK_TARGET_CPU_WITH_MMX
1587         select ADK_TARGET_CPU_WITH_SSE
1588         select ADK_TARGET_CPU_WITH_SSE2
1589         select ADK_TARGET_CPU_WITH_SSE3
1590         select ADK_TARGET_CPU_WITH_SSE4_1
1591         select ADK_TARGET_CPU_WITH_SSE4_2
1592         select ADK_TARGET_CPU_WITH_SSSE3
1593         depends on ADK_TARGET_ARCH_X86_64
1595 config ADK_TARGET_CPU_X86_64_NEHALEM
1596         bool "Nehalem"
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_SSE4_1
1608         select ADK_TARGET_CPU_WITH_SSE4_2
1609         select ADK_TARGET_CPU_WITH_SSSE3
1610         depends on ADK_TARGET_ARCH_X86_64
1612 config ADK_TARGET_CPU_X86_64_NOCONA
1613         bool "Nocona"
1614         select ADK_LINUX_64
1615         select ADK_TARGET_SUPPORTS_THREADS
1616         select ADK_TARGET_SUPPORTS_NPTL
1617         select ADK_TARGET_SUPPORTS_LT
1618         select ADK_TARGET_WITH_MMU
1619         select ADK_TARGET_CPU_WITH_MMX
1620         select ADK_TARGET_CPU_WITH_SSE
1621         select ADK_TARGET_CPU_WITH_SSE2
1622         select ADK_TARGET_CPU_WITH_SSE3
1623         depends on ADK_TARGET_ARCH_X86_64
1625 config ADK_TARGET_CPU_X86_64_OPTERON
1626         bool "Opteron"
1627         select ADK_LINUX_64
1628         select ADK_TARGET_SUPPORTS_THREADS
1629         select ADK_TARGET_SUPPORTS_NPTL
1630         select ADK_TARGET_SUPPORTS_LT
1631         select ADK_TARGET_WITH_MMU
1632         select ADK_TARGET_CPU_WITH_MMX
1633         select ADK_TARGET_CPU_WITH_SSE
1634         select ADK_TARGET_CPU_WITH_SSE2
1635         select ADK_TARGET_CPU_WITH_3DNOW
1636         select ADK_TARGET_CPU_WITH_3DNOWEXT
1637         depends on ADK_TARGET_ARCH_X86_64
1639 config ADK_TARGET_CPU_X86_64_OPTERON_SSE3
1640         bool "Opteron with SSE3"
1641         select ADK_LINUX_64
1642         select ADK_TARGET_SUPPORTS_THREADS
1643         select ADK_TARGET_SUPPORTS_NPTL
1644         select ADK_TARGET_SUPPORTS_LT
1645         select ADK_TARGET_WITH_MMU
1646         select ADK_TARGET_CPU_WITH_VT
1647         select ADK_TARGET_CPU_WITH_MMX
1648         select ADK_TARGET_CPU_WITH_SSE
1649         select ADK_TARGET_CPU_WITH_SSE2
1650         select ADK_TARGET_CPU_WITH_SSE3
1651         select ADK_TARGET_CPU_WITH_3DNOW
1652         select ADK_TARGET_CPU_WITH_3DNOWEXT
1653         depends on ADK_TARGET_ARCH_X86_64
1655 config ADK_TARGET_CPU_X86_64_SANDYBRIDGE
1656         bool "Sandybridge"
1657         select ADK_LINUX_64
1658         select ADK_TARGET_SUPPORTS_THREADS
1659         select ADK_TARGET_SUPPORTS_NPTL
1660         select ADK_TARGET_SUPPORTS_LT
1661         select ADK_TARGET_WITH_MMU
1662         select ADK_TARGET_CPU_WITH_VT
1663         select ADK_TARGET_CPU_WITH_MMX
1664         select ADK_TARGET_CPU_WITH_SSE
1665         select ADK_TARGET_CPU_WITH_SSE2
1666         select ADK_TARGET_CPU_WITH_SSE3
1667         select ADK_TARGET_CPU_WITH_SSE4_1
1668         select ADK_TARGET_CPU_WITH_SSE4_2
1669         select ADK_TARGET_CPU_WITH_SSSE3
1670         depends on ADK_TARGET_ARCH_X86_64
1672 config ADK_TARGET_CPU_X86_64_SILVERMONT
1673         bool "Silvermont"
1674         select ADK_LINUX_64
1675         select ADK_TARGET_SUPPORTS_THREADS
1676         select ADK_TARGET_SUPPORTS_NPTL
1677         select ADK_TARGET_SUPPORTS_LT
1678         select ADK_TARGET_WITH_MMU
1679         select ADK_TARGET_CPU_WITH_VT
1680         select ADK_TARGET_CPU_WITH_MMX
1681         select ADK_TARGET_CPU_WITH_SSE
1682         select ADK_TARGET_CPU_WITH_SSE2
1683         select ADK_TARGET_CPU_WITH_SSE3
1684         select ADK_TARGET_CPU_WITH_SSE4_1
1685         select ADK_TARGET_CPU_WITH_SSE4_2
1686         select ADK_TARGET_CPU_WITH_SSSE3
1687         depends on ADK_TARGET_ARCH_X86_64
1689 config ADK_TARGET_CPU_X86_64_WESTMERE
1690         bool "Westmere"
1691         select ADK_LINUX_64
1692         select ADK_TARGET_SUPPORTS_THREADS
1693         select ADK_TARGET_SUPPORTS_NPTL
1694         select ADK_TARGET_SUPPORTS_LT
1695         select ADK_TARGET_WITH_MMU
1696         select ADK_TARGET_CPU_WITH_VT
1697         select ADK_TARGET_CPU_WITH_MMX
1698         select ADK_TARGET_CPU_WITH_SSE
1699         select ADK_TARGET_CPU_WITH_SSE2
1700         select ADK_TARGET_CPU_WITH_SSE3
1701         select ADK_TARGET_CPU_WITH_SSE4_1
1702         select ADK_TARGET_CPU_WITH_SSE4_2
1703         select ADK_TARGET_CPU_WITH_SSSE3
1704         depends on ADK_TARGET_ARCH_X86_64
1706 # xtensa
1707 config ADK_TARGET_CPU_XTENSA_DC233C
1708         bool "dc233c"
1709         select ADK_TARGET_SUPPORTS_THREADS
1710         select ADK_TARGET_SUPPORTS_NPTL
1711         select ADK_TARGET_SUPPORTS_LT
1712         select ADK_TARGET_KERNEL_UIMAGE
1713         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_OS_LINUX
1714         select ADK_LINUX_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX if ADK_TARGET_OS_LINUX
1715         select ADK_WALDUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_OS_WALDUX
1716         select ADK_WALDUX_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX if ADK_TARGET_OS_WALDUX
1717         depends on ADK_TARGET_ARCH_XTENSA
1719 config ADK_TARGET_CPU_XTENSA_DC232B
1720         bool "dc232b"
1721         select ADK_TARGET_SUPPORTS_THREADS
1722         select ADK_TARGET_SUPPORTS_NPTL
1723         select ADK_TARGET_SUPPORTS_LT
1724         select ADK_TARGET_KERNEL_UIMAGE
1725         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC232B if ADK_TARGET_OS_LINUX
1726         select ADK_WALDUX_KERNEL_XTENSA_VARIANT_DC232B if ADK_TARGET_OS_WALDUX
1727         depends on ADK_TARGET_ARCH_XTENSA
1729 config ADK_TARGET_CPU_XTENSA_DE212
1730         bool "de212"
1731         select ADK_TARGET_SUPPORTS_THREADS
1732         select ADK_TARGET_SUPPORTS_LT
1733         select ADK_TARGET_KERNEL_IMAGE
1734         select ADK_LINUX_KERNEL_XTENSA_VARIANT_CUSTOM if ADK_TARGET_OS_LINUX
1735         select ADK_WALDUX_KERNEL_XTENSA_VARIANT_CUSTOM if ADK_TARGET_OS_WALDUX
1736         depends on ADK_TARGET_ARCH_XTENSA
1738 config ADK_TARGET_CPU_XTENSA_KC705_BE
1739         bool "kc705_be"
1740         select ADK_TARGET_SUPPORTS_THREADS
1741         select ADK_TARGET_SUPPORTS_NPTL
1742         select ADK_TARGET_SUPPORTS_LT
1743         select ADK_TARGET_KERNEL_UIMAGE
1744         select ADK_LINUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_OS_LINUX
1745         select ADK_WALDUX_KERNEL_XTENSA_VARIANT_DC233C if ADK_TARGET_OS_WALDUX
1746         depends on ADK_TARGET_ARCH_XTENSA
1748 config ADK_TARGET_CPU_XTENSA_FSF
1749         bool "fsf"
1750         select ADK_TARGET_SUPPORTS_THREADS
1751         select ADK_TARGET_SUPPORTS_NPTL
1752         select ADK_TARGET_SUPPORTS_LT
1753         select ADK_TARGET_KERNEL_ZIMAGE
1754         select ADK_LINUX_KERNEL_XTENSA_VARIANT_FSF if ADK_TARGET_OS_LINUX
1755         select ADK_WALDUX_KERNEL_XTENSA_VARIANT_FSF if ADK_TARGET_OS_WALDUX
1756         depends on ADK_TARGET_ARCH_XTENSA
1758 endchoice
1760 # coldfire helper variable for gcc
1761 config ADK_TARGET_CPU_CF
1762         bool
1764 # CPU features
1765 config ADK_TARGET_CPU_WITH_FPU
1766         bool
1768 config ADK_TARGET_CPU_WITH_FPU_VFP
1769         bool
1770         select ADK_TARGET_CPU_WITH_FPU
1772 config ADK_TARGET_CPU_WITH_FPU_VFPV3
1773         bool
1774         select ADK_TARGET_CPU_WITH_FPU
1776 config ADK_TARGET_CPU_WITH_FPU_VFPV4
1777         bool
1778         select ADK_TARGET_CPU_WITH_FPU
1780 config ADK_TARGET_CPU_WITH_FPU_FPV4
1781         bool
1782         select ADK_TARGET_CPU_WITH_FPU
1784 config ADK_TARGET_CPU_WITH_FPU_FPV5
1785         bool
1786         select ADK_TARGET_CPU_WITH_FPU
1788 config ADK_TARGET_CPU_WITH_THUMB
1789         bool
1791 config ADK_TARGET_CPU_WITH_THUMB2
1792         bool
1794 config ADK_TARGET_CPU_WITH_VT
1795         bool
1797 config ADK_TARGET_CPU_WITH_MTRR
1798         bool
1800 config ADK_TARGET_CPU_WITH_ALTIVEC
1801         bool
1803 config ADK_TARGET_CPU_WITH_MMX
1804         bool
1806 config ADK_TARGET_CPU_WITH_MMXEXT
1807         bool
1809 config ADK_TARGET_CPU_WITH_SSE
1810         bool
1812 config ADK_TARGET_CPU_WITH_SSE2
1813         bool
1815 config ADK_TARGET_CPU_WITH_SSE3
1816         bool
1818 config ADK_TARGET_CPU_WITH_SSE4A
1819         bool
1821 config ADK_TARGET_CPU_WITH_SSE4_1
1822         bool
1824 config ADK_TARGET_CPU_WITH_SSE4_2
1825         bool
1827 config ADK_TARGET_CPU_WITH_SSSE3
1828         bool
1830 config ADK_TARGET_CPU_WITH_IWMMXT
1831         bool
1833 config ADK_TARGET_CPU_WITH_NEON
1834         bool
1836 config ADK_TARGET_CPU_WITH_HT
1837         bool
1839 config ADK_TARGET_CPU_WITH_3DNOW
1840         bool
1842 config ADK_TARGET_CPU_WITH_3DNOWEXT
1843         bool
1845 # for gcc --with-cpu
1846 config ADK_TARGET_GCC_CPU
1847         string
1848         default "51" if ADK_TARGET_CPU_CF_51
1849         default "5206" if ADK_TARGET_CPU_CF_5206
1850         default "5206e" if ADK_TARGET_CPU_CF_5206E
1851         default "5208" if ADK_TARGET_CPU_CF_5208
1852         default "5211a" if ADK_TARGET_CPU_CF_5211A
1853         default "5213" if ADK_TARGET_CPU_CF_5213
1854         default "5216" if ADK_TARGET_CPU_CF_5216
1855         default "52235" if ADK_TARGET_CPU_CF_52235
1856         default "5225" if ADK_TARGET_CPU_CF_5225
1857         default "52259" if ADK_TARGET_CPU_CF_52259
1858         default "5235" if ADK_TARGET_CPU_CF_5235
1859         default "5249" if ADK_TARGET_CPU_CF_5249
1860         default "5250" if ADK_TARGET_CPU_CF_5250
1861         default "5271" if ADK_TARGET_CPU_CF_5271
1862         default "5272" if ADK_TARGET_CPU_CF_5272
1863         default "5275" if ADK_TARGET_CPU_CF_5275
1864         default "5282" if ADK_TARGET_CPU_CF_5282
1865         default "53017" if ADK_TARGET_CPU_CF_53017
1866         default "5307" if ADK_TARGET_CPU_CF_5307
1867         default "5328" if ADK_TARGET_CPU_CF_5328
1868         default "5329" if ADK_TARGET_CPU_CF_5329
1869         default "5373" if ADK_TARGET_CPU_CF_5373
1870         default "5407" if ADK_TARGET_CPU_CF_5407
1871         default "5475" if ADK_TARGET_CPU_CF_5475
1872         default "68020" if ADK_TARGET_CPU_M68K_68020
1873         default "68030" if ADK_TARGET_CPU_M68K_68030
1874         default "68040" if ADK_TARGET_CPU_M68K_68040
1875         default "68060" if ADK_TARGET_CPU_M68K_68060
1876         default "arc700" if ADK_TARGET_CPU_ARC_ARC700
1877         default "archs" if ADK_TARGET_CPU_ARC_ARCHS
1878         default "arm1176jzf-s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
1879         default "arm926ej-s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
1880         default "cortex-a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
1881         default "cortex-a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
1882         default "cortex-a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
1883         default "cortex-a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
1884         default "cortex-a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
1885         default "cortex-a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
1886         default "cortex-a53" if ADK_TARGET_CPU_ARM_CORTEX_A53
1887         default "cortex-a57" if ADK_TARGET_CPU_ARM_CORTEX_A57
1888         default "cortex-a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
1889         default "cortex-a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
1890         default "cortex-m0" if ADK_TARGET_CPU_ARM_CORTEX_M0
1891         default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
1892         default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
1893         default "cortex-m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
1894         default "ev4" if ADK_TARGET_CPU_ALPHA_EV4
1895         default "ev5" if ADK_TARGET_CPU_ALPHA_EV5
1896         default "ev6" if ADK_TARGET_CPU_ALPHA_EV6
1897         default "ev67" if ADK_TARGET_CPU_ALPHA_EV67
1898         default "leon" if ADK_TARGET_CPU_SPARC_LEON
1899         default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
1900         default "n13" if ADK_TARGET_CPU_NDS32
1901         default "powerpc" if ADK_TARGET_CPU_PPC
1902         default "powerpc64" if ADK_TARGET_CPU_PPC64_POWERPC64
1903         default "power4" if ADK_TARGET_CPU_PPC64_POWER4
1904         default "power5" if ADK_TARGET_CPU_PPC64_POWER5
1905         default "power6" if ADK_TARGET_CPU_PPC64_POWER6
1906         default "power7" if ADK_TARGET_CPU_PPC64_POWER7
1907         default "power8" if ADK_TARGET_CPU_PPC64_POWER8
1908         default "ultrasparc" if ADK_TARGET_CPU_SPARC64_V9
1909         default "v8" if ADK_TARGET_CPU_SPARC_V8
1910         default "xscale" if ADK_TARGET_CPU_ARM_XSCALE
1911         default "440" if ADK_TARGET_CPU_PPC_440
1912         default "740" if ADK_TARGET_CPU_PPC_740
1913         default "750" if ADK_TARGET_CPU_PPC_750
1914         default "7400" if ADK_TARGET_CPU_PPC_7400
1915         default "7450" if ADK_TARGET_CPU_PPC_7450
1916         default "8540" if ADK_TARGET_CPU_PPC_8540
1917         default "8548" if ADK_TARGET_CPU_PPC_8548
1918         default "970" if ADK_TARGET_CPU_PPC_970
1920 # for gcc --with-arch
1921 config ADK_TARGET_GCC_ARCH
1922         string
1923         default "athlon" if ADK_TARGET_CPU_X86_64_ATHLON
1924         default "athlon-fx" if ADK_TARGET_CPU_X86_64_ATHLON_FX
1925         default "athlon64" if ADK_TARGET_CPU_X86_64_ATHLON_64
1926         default "athlon64-sse3" if ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
1927         default "atom" if ADK_TARGET_CPU_X86_ATOM
1928         default "barcelona" if ADK_TARGET_CPU_X86_64_BARCELONA
1929         default "bdver1" if ADK_TARGET_CPU_X86_64_BDVER1
1930         default "bdver2" if ADK_TARGET_CPU_X86_64_BDVER2
1931         default "bdver3" if ADK_TARGET_CPU_X86_64_BDVER3
1932         default "bdver4" if ADK_TARGET_CPU_X86_64_BDVER4
1933         default "bonnell" if ADK_TARGET_CPU_X86_64_BONNEL
1934         default "broadwell" if ADK_TARGET_CPU_X86_64_BROADWELL
1935         default "btver1" if ADK_TARGET_CPU_X86_64_BTVER1
1936         default "btver2" if ADK_TARGET_CPU_X86_64_BTVER2
1937         default "core2" if ADK_TARGET_CPU_X86_64_CORE2
1938         default "geode" if ADK_TARGET_CPU_X86_GEODE
1939         default "haswell" if ADK_TARGET_CPU_X86_64_HASWELL
1940         default "i486" if ADK_TARGET_CPU_X86_I486
1941         default "i586" if ADK_TARGET_CPU_X86_I586
1942         default "i686" if ADK_TARGET_CPU_X86_I686
1943         default "ivybridge" if ADK_TARGET_CPU_X86_64_IVYBRIDGE
1944         default "k8" if ADK_TARGET_CPU_X86_64_K8
1945         default "k8-sse3" if ADK_TARGET_CPU_X86_64_K8_SSE3
1946         default "knl" if ADK_TARGET_CPU_X86_64_KNL
1947         default "loongson2f" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
1948         default "r4400" if ADK_TARGET_CPU_MIPS_R4400
1949         default "r4600" if ADK_TARGET_CPU_MIPS_R4600
1950         default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
1951         default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
1952         default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
1953         default "mips1" if ADK_TARGET_CPU_MIPS64_MIPS1
1954         default "mips2" if ADK_TARGET_CPU_MIPS64_MIPS2
1955         default "mips3" if ADK_TARGET_CPU_MIPS64_MIPS3
1956         default "mips4" if ADK_TARGET_CPU_MIPS64_MIPS4
1957         default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
1958         default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
1959         default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
1960         default "nehalem" if ADK_TARGET_CPU_X86_64_NEHALEM
1961         default "nocona" if ADK_TARGET_CPU_X86_64_NOCONA
1962         default "opteron" if ADK_TARGET_CPU_X86_64_OPTERON
1963         default "opteron-sse3" if ADK_TARGET_CPU_X86_64_OPTERON_SSE3
1964         default "pentium-m" if ADK_TARGET_CPU_X86_PENTIUM_M
1965         default "sandybridge" if ADK_TARGET_CPU_X86_64_SANDYBRIDGE
1966         default "silvermont" if ADK_TARGET_CPU_X86_64_SILVERMONT
1967         default "westmere" if ADK_TARGET_CPU_X86_64_WESTMERE
1968         default "x86-64" if ADK_TARGET_CPU_X86_64
1969         default "z900" if ADK_TARGET_CPU_S390_Z900
1970         default "c674x" if ADK_TARGET_CPU_C6X
1971         default "rv32imafdc" if ADK_TARGET_CPU_RISCV32_RV32IMAFDC
1972         default "rv32imac" if ADK_TARGET_CPU_RISCV32_RV32IMAC
1973         default "rv64imafdc" if ADK_TARGET_CPU_RISCV64_RV64IMAFDC
1974         default "rv64imac" if ADK_TARGET_CPU_RISCV64_RV64IMAC
1976 # for CFLAGS/CXXFLAGS if gcc does not support --with-cpu
1977 config ADK_TARGET_CPU_FLAGS
1978         string
1979         default "-mcpu=bf512" if ADK_TARGET_CPU_BFIN_BF512
1980         default "-mcpu=bf514" if ADK_TARGET_CPU_BFIN_BF514
1981         default "-mcpu=bf516" if ADK_TARGET_CPU_BFIN_BF516
1982         default "-mcpu=bf518" if ADK_TARGET_CPU_BFIN_BF518
1983         default "-mcpu=bf522" if ADK_TARGET_CPU_BFIN_BF522
1984         default "-mcpu=bf523" if ADK_TARGET_CPU_BFIN_BF523
1985         default "-mcpu=bf524" if ADK_TARGET_CPU_BFIN_BF524
1986         default "-mcpu=bf525" if ADK_TARGET_CPU_BFIN_BF525
1987         default "-mcpu=bf526" if ADK_TARGET_CPU_BFIN_BF526
1988         default "-mcpu=bf527" if ADK_TARGET_CPU_BFIN_BF527
1989         default "-mcpu=bf531" if ADK_TARGET_CPU_BFIN_BF531
1990         default "-mcpu=bf532" if ADK_TARGET_CPU_BFIN_BF532
1991         default "-mcpu=bf533" if ADK_TARGET_CPU_BFIN_BF533
1992         default "-mcpu=bf534" if ADK_TARGET_CPU_BFIN_BF534
1993         default "-mcpu=bf536" if ADK_TARGET_CPU_BFIN_BF536
1994         default "-mcpu=bf537" if ADK_TARGET_CPU_BFIN_BF537
1995         default "-mcpu=bf538" if ADK_TARGET_CPU_BFIN_BF538
1996         default "-mcpu=bf539" if ADK_TARGET_CPU_BFIN_BF539
1997         default "-mcpu=bf542" if ADK_TARGET_CPU_BFIN_BF542
1998         default "-mcpu=bf544" if ADK_TARGET_CPU_BFIN_BF544
1999         default "-mcpu=bf547" if ADK_TARGET_CPU_BFIN_BF547
2000         default "-mcpu=bf548" if ADK_TARGET_CPU_BFIN_BF548
2001         default "-mcpu=bf549" if ADK_TARGET_CPU_BFIN_BF549
2002         default "-mcpu=bf542m" if ADK_TARGET_CPU_BFIN_BF542M
2003         default "-mcpu=bf544m" if ADK_TARGET_CPU_BFIN_BF544M
2004         default "-mcpu=bf547m" if ADK_TARGET_CPU_BFIN_BF547M
2005         default "-mcpu=bf548m" if ADK_TARGET_CPU_BFIN_BF548M
2006         default "-mcpu=bf549m" if ADK_TARGET_CPU_BFIN_BF549M
2007         default "-mcpu=bf561" if ADK_TARGET_CPU_BFIN_BF561
2008         default "-mcpu=bf592" if ADK_TARGET_CPU_BFIN_BF592
2009         default "-mcpu=ck610" if ADK_TARGET_CPU_CSKY_CK610
2010         default "-mcpu=ck807" if ADK_TARGET_CPU_CSKY_CK807
2011         default "-mcpu=ck810" if ADK_TARGET_CPU_CSKY_CK810
2012         default "-mcpu=v10" if ADK_TARGET_CPU_CRIS_CRISV10
2013         default "-mcpu=v32" if ADK_TARGET_CPU_CRIS_CRISV32
2014         default "-mh" if ADK_TARGET_CPU_H8300H
2015         default "-ms" if ADK_TARGET_CPU_H8S
2016         default "-mmetac=2.1" if ADK_TARGET_CPU_METAG
2017         default "-mcpu=v7.10.d" if ADK_TARGET_CPU_MICROBLAZE
2018         default "-mj2" if ADK_TARGET_CPU_SH_J2
2019         default "-m2" if ADK_TARGET_CPU_SH_SH2
2020         default "-m2a" if ADK_TARGET_CPU_SH_SH2A
2021         default "-m3" if ADK_TARGET_CPU_SH_SH3
2022         default "-m4" if ADK_TARGET_CPU_SH_SH4
2023         default "-m4a" if ADK_TARGET_CPU_SH_SH4A
2024         default "-mcpu=tilegx" if ADK_TARGET_CPU_TILE_TILEGX
2026 # ADK suffix
2027 config ADK_TARGET_CPU_TYPE
2028         string
2029         default "arc700" if ADK_TARGET_CPU_ARC_ARC700
2030         default "archs" if ADK_TARGET_CPU_ARC_ARCHS
2031         default "bf512" if ADK_TARGET_CPU_BFIN_BF512
2032         default "bf514" if ADK_TARGET_CPU_BFIN_BF514
2033         default "bf516" if ADK_TARGET_CPU_BFIN_BF516
2034         default "bf518" if ADK_TARGET_CPU_BFIN_BF518
2035         default "bf522" if ADK_TARGET_CPU_BFIN_BF522
2036         default "bf523" if ADK_TARGET_CPU_BFIN_BF523
2037         default "bf524" if ADK_TARGET_CPU_BFIN_BF524
2038         default "bf525" if ADK_TARGET_CPU_BFIN_BF525
2039         default "bf526" if ADK_TARGET_CPU_BFIN_BF526
2040         default "bf527" if ADK_TARGET_CPU_BFIN_BF527
2041         default "bf531" if ADK_TARGET_CPU_BFIN_BF531
2042         default "bf532" if ADK_TARGET_CPU_BFIN_BF532
2043         default "bf533" if ADK_TARGET_CPU_BFIN_BF533
2044         default "bf534" if ADK_TARGET_CPU_BFIN_BF534
2045         default "bf536" if ADK_TARGET_CPU_BFIN_BF536
2046         default "bf537" if ADK_TARGET_CPU_BFIN_BF537
2047         default "bf538" if ADK_TARGET_CPU_BFIN_BF538
2048         default "bf539" if ADK_TARGET_CPU_BFIN_BF539
2049         default "bf542" if ADK_TARGET_CPU_BFIN_BF542
2050         default "bf544" if ADK_TARGET_CPU_BFIN_BF544
2051         default "bf547" if ADK_TARGET_CPU_BFIN_BF547
2052         default "bf548" if ADK_TARGET_CPU_BFIN_BF548
2053         default "bf549" if ADK_TARGET_CPU_BFIN_BF549
2054         default "bf542m" if ADK_TARGET_CPU_BFIN_BF542M
2055         default "bf544m" if ADK_TARGET_CPU_BFIN_BF544M
2056         default "bf547m" if ADK_TARGET_CPU_BFIN_BF547M
2057         default "bf548m" if ADK_TARGET_CPU_BFIN_BF548M
2058         default "bf549m" if ADK_TARGET_CPU_BFIN_BF549M
2059         default "bf561" if ADK_TARGET_CPU_BFIN_BF561
2060         default "bf592" if ADK_TARGET_CPU_BFIN_BF592
2061         default "cf51" if ADK_TARGET_CPU_CF_51
2062         default "cf5206" if ADK_TARGET_CPU_CF_5206
2063         default "cf5206e" if ADK_TARGET_CPU_CF_5206E
2064         default "cf5208" if ADK_TARGET_CPU_CF_5208
2065         default "cf5211a" if ADK_TARGET_CPU_CF_5211A
2066         default "cf5213" if ADK_TARGET_CPU_CF_5213
2067         default "cf5216" if ADK_TARGET_CPU_CF_5216
2068         default "cf52235" if ADK_TARGET_CPU_CF_52235
2069         default "cf5225" if ADK_TARGET_CPU_CF_5225
2070         default "cf52259" if ADK_TARGET_CPU_CF_52259
2071         default "cf5235" if ADK_TARGET_CPU_CF_5235
2072         default "cf5249" if ADK_TARGET_CPU_CF_5249
2073         default "cf5250" if ADK_TARGET_CPU_CF_5250
2074         default "cf5271" if ADK_TARGET_CPU_CF_5271
2075         default "cf5272" if ADK_TARGET_CPU_CF_5272
2076         default "cf5275" if ADK_TARGET_CPU_CF_5275
2077         default "cf5282" if ADK_TARGET_CPU_CF_5282
2078         default "cf53017" if ADK_TARGET_CPU_CF_53017
2079         default "cf5307" if ADK_TARGET_CPU_CF_5307
2080         default "cf5328" if ADK_TARGET_CPU_CF_5328
2081         default "cf5329" if ADK_TARGET_CPU_CF_5329
2082         default "cf5373" if ADK_TARGET_CPU_CF_5373
2083         default "cf5407" if ADK_TARGET_CPU_CF_5407
2084         default "cf5475" if ADK_TARGET_CPU_CF_5475
2085         default "68020" if ADK_TARGET_CPU_M68K_68020
2086         default "68030" if ADK_TARGET_CPU_M68K_68030
2087         default "68040" if ADK_TARGET_CPU_M68K_68040
2088         default "68060" if ADK_TARGET_CPU_M68K_68060
2089         default "cortex_a5" if ADK_TARGET_CPU_ARM_CORTEX_A5
2090         default "cortex_a7" if ADK_TARGET_CPU_ARM_CORTEX_A7
2091         default "cortex_a8" if ADK_TARGET_CPU_ARM_CORTEX_A8
2092         default "cortex_a9" if ADK_TARGET_CPU_ARM_CORTEX_A9
2093         default "cortex_a15" if ADK_TARGET_CPU_ARM_CORTEX_A15
2094         default "cortex_a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
2095         default "cortex_m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
2096         default "cortex_m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
2097         default "cortex_m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
2098         default "arm1176jzf_s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
2099         default "arm926ej_s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
2100         default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
2101         default "cortex_a53" if ADK_TARGET_CPU_ARM_CORTEX_A53
2102         default "cortex_a57" if ADK_TARGET_CPU_ARM_CORTEX_A57
2103         default "cortex_a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
2104         default "cortex_a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
2105         default "microblaze" if ADK_TARGET_CPU_MICROBLAZE
2106         default "mips32" if ADK_TARGET_CPU_MIPS_MIPS32
2107         default "mips32r2" if ADK_TARGET_CPU_MIPS_MIPS32R2
2108         default "mips32r6" if ADK_TARGET_CPU_MIPS_MIPS32R6
2109         default "mips64" if ADK_TARGET_CPU_MIPS64_MIPS64
2110         default "mips64r2" if ADK_TARGET_CPU_MIPS64_MIPS64R2
2111         default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
2112         default "mips64" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
2113         default "ppc64" if ADK_TARGET_ARCH_PPC64
2114         default "nds32" if ADK_TARGET_CPU_NDS32
2115         default "v8" if ADK_TARGET_CPU_SPARC_V8
2116         default "v9" if ADK_TARGET_CPU_SPARC64_V9
2117         default "leon" if ADK_TARGET_CPU_SPARC_LEON
2118         default "dc233c" if ADK_TARGET_CPU_XTENSA_DC233C
2119         default "dc232b" if ADK_TARGET_CPU_XTENSA_DC232B
2120         default "de212" if ADK_TARGET_CPU_XTENSA_DE212
2121         default "kc705_be" if ADK_TARGET_CPU_XTENSA_KC705_BE
2122         default "fsf" if ADK_TARGET_CPU_XTENSA_FSF
2123         default "crisv10" if ADK_TARGET_CPU_CRIS_CRISV10
2124         default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
2125         default "sh" if ADK_TARGET_CPU_SH_SH
2126         default "j2" if ADK_TARGET_CPU_SH_J2
2127         default "sh2" if ADK_TARGET_CPU_SH_SH2
2128         default "sh2a" if ADK_TARGET_CPU_SH_SH2A
2129         default "sh3" if ADK_TARGET_CPU_SH_SH3
2130         default "sh4" if ADK_TARGET_CPU_SH_SH4
2131         default "sh4a" if ADK_TARGET_CPU_SH_SH4A
2133 # required for the correct toolchain triple
2134 config ADK_TARGET_CPU_ARCH
2135         string
2136         default "aarch64" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_LITTLE_ENDIAN
2137         default "aarch64_be" if ADK_TARGET_ARCH_AARCH64 && ADK_TARGET_BIG_ENDIAN
2138         default "alpha" if ADK_TARGET_ARCH_ALPHA
2139         default "arm" if ADK_TARGET_ARCH_ARM && ADK_TARGET_LITTLE_ENDIAN
2140         default "armeb" if ADK_TARGET_ARCH_ARM && ADK_TARGET_BIG_ENDIAN
2141         default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN
2142         default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN
2143         default "avr32" if ADK_TARGET_ARCH_AVR32
2144         default "bfin" if ADK_TARGET_ARCH_BFIN
2145         default "c6x" if ADK_TARGET_ARCH_C6X
2146         default "cr16" if ADK_TARGET_ARCH_CR16
2147         default "cris" if ADK_TARGET_CPU_CRIS_CRISV10
2148         default "crisv32" if ADK_TARGET_CPU_CRIS_CRISV32
2149         default "csky" if ADK_TARGET_ARCH_CSKY
2150         default "epiphany" if ADK_TARGET_ARCH_EPIPHANY
2151         default "frv" if ADK_TARGET_ARCH_FRV
2152         default "ft32" if ADK_TARGET_ARCH_FT32
2153         default "i486" if ADK_TARGET_CPU_X86_I486
2154         default "i586" if ADK_TARGET_CPU_X86_I586
2155         default "i686" if ADK_TARGET_CPU_X86_I686
2156         default "i586" if ADK_TARGET_CPU_X86_GEODE
2157         default "i686" if ADK_TARGET_CPU_X86_PENTIUM_M
2158         default "i686" if ADK_TARGET_CPU_X86_ATOM
2159         default "h8300" if ADK_TARGET_ARCH_H8300
2160         default "hppa" if ADK_TARGET_ARCH_HPPA
2161         default "ia64" if ADK_TARGET_ARCH_IA64
2162         default "lm32" if ADK_TARGET_ARCH_LM32
2163         default "m32c" if ADK_TARGET_ARCH_M32C
2164         default "m32r" if ADK_TARGET_ARCH_M32R
2165         default "m68k" if ADK_TARGET_ARCH_M68K
2166         default "metag" if ADK_TARGET_ARCH_METAG
2167         default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN
2168         default "microblazeel" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_LITTLE_ENDIAN
2169         default "mips64" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_BIG_ENDIAN
2170         default "mips64el" if ADK_TARGET_ARCH_MIPS64 && ADK_TARGET_LITTLE_ENDIAN
2171         default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
2172         default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
2173         default "mn10300" if ADK_TARGET_ARCH_MN10300
2174         default "moxie" if ADK_TARGET_ARCH_MOXIE
2175         default "msp430" if ADK_TARGET_ARCH_MSP430
2176         default "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN
2177         default "nds32be" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_BIG_ENDIAN
2178         default "nios2" if ADK_TARGET_ARCH_NIOS2
2179         default "or1k" if ADK_TARGET_ARCH_OR1K
2180         default "ppc" if ADK_TARGET_ARCH_PPC
2181         default "ppc64le" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_LITTLE_ENDIAN
2182         default "ppc64" if ADK_TARGET_ARCH_PPC64 && ADK_TARGET_BIG_ENDIAN
2183         default "riscv32" if ADK_TARGET_ARCH_RISCV32
2184         default "riscv64" if ADK_TARGET_ARCH_RISCV64
2185         default "rx" if ADK_TARGET_ARCH_RX
2186         default "s390x" if ADK_TARGET_ARCH_S390
2187         default "sh" if ADK_TARGET_CPU_SH_SH && ADK_TARGET_LITTLE_ENDIAN
2188         default "sh2" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_LITTLE_ENDIAN
2189         default "sh2eb" if ADK_TARGET_CPU_SH_SH2 && ADK_TARGET_BIG_ENDIAN
2190         default "sh2eb" if ADK_TARGET_CPU_SH_J2 && ADK_TARGET_BIG_ENDIAN
2191         default "sh2a" if ADK_TARGET_CPU_SH_SH2A
2192         default "sh3" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_LITTLE_ENDIAN
2193         default "sh3eb" if ADK_TARGET_CPU_SH_SH3 && ADK_TARGET_BIG_ENDIAN
2194         default "sh4" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_LITTLE_ENDIAN
2195         default "sh4eb" if ADK_TARGET_CPU_SH_SH4 && ADK_TARGET_BIG_ENDIAN
2196         default "sh4a" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_LITTLE_ENDIAN
2197         default "sh4aeb" if ADK_TARGET_CPU_SH_SH4A && ADK_TARGET_BIG_ENDIAN
2198         default "sparc" if ADK_TARGET_ARCH_SPARC
2199         default "sparc64" if ADK_TARGET_ARCH_SPARC64
2200         default "tilegx" if ADK_TARGET_CPU_TILE_TILEGX
2201         default "v850" if ADK_TARGET_ARCH_V850
2202         default "x86_64" if ADK_TARGET_ARCH_X86_64
2203         default "xtensa" if ADK_TARGET_ARCH_XTENSA