]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - arch/Config.in.powerpc
ti-sgx-km: rename options to have proper prefix
[coffee/buildroot.git] / arch / Config.in.powerpc
1 config BR2_POWERPC_CPU_HAS_ALTIVEC
2         bool
3
4 config BR2_POWERPC_CPU_HAS_SPE
5         bool
6
7 choice
8         prompt "Target Architecture Variant"
9         default BR2_generic_powerpc
10         help
11           Specific CPU variant to use
12 config BR2_generic_powerpc
13         bool "generic"
14 config BR2_powerpc_401
15         bool "401"
16         depends on !BR2_ARCH_IS_64
17 config BR2_powerpc_403
18         bool "403"
19         depends on !BR2_ARCH_IS_64
20 config BR2_powerpc_405
21         bool "405"
22         depends on !BR2_ARCH_IS_64
23 config BR2_powerpc_405fp
24         bool "405 with FPU"
25         depends on !BR2_ARCH_IS_64
26 config BR2_powerpc_440
27         bool "440"
28         depends on !BR2_ARCH_IS_64
29 config BR2_powerpc_440fp
30         bool "440 with FPU"
31         depends on !BR2_ARCH_IS_64
32 config BR2_powerpc_464
33         bool "464"
34         depends on !BR2_ARCH_IS_64
35 config BR2_powerpc_464fp
36         bool "464 with FPU"
37         depends on !BR2_ARCH_IS_64
38 config BR2_powerpc_476
39         bool "476"
40         depends on !BR2_ARCH_IS_64
41 config BR2_powerpc_476fp
42         bool "476 with FPU"
43         depends on !BR2_ARCH_IS_64
44 config BR2_powerpc_505
45         bool "505"
46         depends on !BR2_ARCH_IS_64
47 config BR2_powerpc_601
48         bool "601"
49         depends on !BR2_ARCH_IS_64
50 config BR2_powerpc_602
51         bool "602"
52         depends on !BR2_ARCH_IS_64
53 config BR2_powerpc_603
54         bool "603"
55         depends on !BR2_ARCH_IS_64
56 config BR2_powerpc_603e
57         bool "603e"
58         depends on !BR2_ARCH_IS_64
59 config BR2_powerpc_604
60         bool "604"
61         depends on !BR2_ARCH_IS_64
62 config BR2_powerpc_604e
63         bool "604e"
64         depends on !BR2_ARCH_IS_64
65 config BR2_powerpc_620
66         bool "620"
67 config BR2_powerpc_630
68         bool "630"
69 config BR2_powerpc_740
70         bool "740"
71         depends on !BR2_ARCH_IS_64
72 config BR2_powerpc_7400
73         bool "7400"
74         depends on !BR2_ARCH_IS_64
75         select BR2_POWERPC_CPU_HAS_ALTIVEC
76 config BR2_powerpc_7450
77         bool "7450"
78         depends on !BR2_ARCH_IS_64
79         select BR2_POWERPC_CPU_HAS_ALTIVEC
80 config BR2_powerpc_750
81         bool "750"
82         depends on !BR2_ARCH_IS_64
83 config BR2_powerpc_821
84         bool "821"
85         depends on !BR2_ARCH_IS_64
86 config BR2_powerpc_823
87         bool "823"
88         depends on !BR2_ARCH_IS_64
89 config BR2_powerpc_860
90         bool "860"
91         depends on !BR2_ARCH_IS_64
92 config BR2_powerpc_970
93         bool "970"
94         select BR2_POWERPC_CPU_HAS_ALTIVEC
95 config BR2_powerpc_8540
96         bool "8540 / e500v1"
97         depends on !BR2_ARCH_IS_64
98         select BR2_POWERPC_CPU_HAS_SPE
99 config BR2_powerpc_8548
100         bool "8548 / e500v2"
101         depends on !BR2_ARCH_IS_64
102         select BR2_POWERPC_CPU_HAS_SPE
103 config BR2_powerpc_e300c2
104         bool "e300c2"
105         depends on !BR2_ARCH_IS_64
106 config BR2_powerpc_e300c3
107         bool "e300c3"
108         depends on !BR2_ARCH_IS_64
109 config BR2_powerpc_e500mc
110         bool "e500mc"
111         depends on !BR2_ARCH_IS_64
112 config BR2_powerpc_e5500
113         bool "e5500"
114         depends on !BR2_powerpc64le
115 config BR2_powerpc_e6500
116         bool "e6500"
117         depends on !BR2_powerpc64le
118         select BR2_POWERPC_CPU_HAS_ALTIVEC
119 config BR2_powerpc_power4
120         bool "power4"
121 config BR2_powerpc_power5
122         bool "power5"
123 config BR2_powerpc_power6
124         bool "power6"
125         select BR2_POWERPC_CPU_HAS_ALTIVEC
126 config BR2_powerpc_power7
127         bool "power7"
128         select BR2_POWERPC_CPU_HAS_ALTIVEC
129 config BR2_powerpc_power8
130         bool "power8"
131         select BR2_POWERPC_CPU_HAS_ALTIVEC
132 endchoice
133
134 choice
135         prompt "Target ABI"
136         default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
137         default BR2_powerpc_CLASSIC
138         help
139           Application Binary Interface to use
140
141 config BR2_powerpc_CLASSIC
142         bool "Classic"
143         depends on !BR2_POWERPC_CPU_HAS_SPE
144 config BR2_powerpc_SPE
145         bool "SPE"
146         depends on BR2_POWERPC_CPU_HAS_SPE
147 endchoice
148
149 config BR2_POWERPC_SOFT_FLOAT
150         bool "Use soft-float"
151         select BR2_SOFT_FLOAT
152         help
153           If your target CPU does not have a Floating Point Unit (FPU)
154           or a kernel FPU emulator, but you still wish to support
155           floating point functions, then everything will need to be
156           compiled with soft floating point support (-msoft-float).
157
158 config BR2_ARCH
159         default "powerpc"       if BR2_powerpc
160         default "powerpc64"     if BR2_powerpc64
161         default "powerpc64le"   if BR2_powerpc64le
162
163 config BR2_ENDIAN
164         default "BIG"    if BR2_powerpc || BR2_powerpc64
165         default "LITTLE" if BR2_powerpc64le
166
167 config BR2_GCC_TARGET_CPU
168         default "401"           if BR2_powerpc_401
169         default "403"           if BR2_powerpc_403
170         default "405"           if BR2_powerpc_405
171         default "405fp"         if BR2_powerpc_405fp
172         default "440"           if BR2_powerpc_440
173         default "440fp"         if BR2_powerpc_440fp
174         default "464"           if BR2_powerpc_464
175         default "464fp"         if BR2_powerpc_464fp
176         default "476"           if BR2_powerpc_476
177         default "476fp"         if BR2_powerpc_476fp
178         default "505"           if BR2_powerpc_505
179         default "601"           if BR2_powerpc_601
180         default "602"           if BR2_powerpc_602
181         default "603"           if BR2_powerpc_603
182         default "603e"          if BR2_powerpc_603e
183         default "604"           if BR2_powerpc_604
184         default "604e"          if BR2_powerpc_604e
185         default "620"           if BR2_powerpc_620
186         default "630"           if BR2_powerpc_630
187         default "740"           if BR2_powerpc_740
188         default "7400"          if BR2_powerpc_7400
189         default "7450"          if BR2_powerpc_7450
190         default "750"           if BR2_powerpc_750
191         default "821"           if BR2_powerpc_821
192         default "823"           if BR2_powerpc_823
193         default "860"           if BR2_powerpc_860
194         default "970"           if BR2_powerpc_970
195         default "8540"          if BR2_powerpc_8540
196         default "8548"          if BR2_powerpc_8548
197         default "e300c2"        if BR2_powerpc_e300c2
198         default "e300c3"        if BR2_powerpc_e300c3
199         default "e500mc"        if BR2_powerpc_e500mc
200         default "e5500"         if BR2_powerpc_e5500
201         default "e6500"         if BR2_powerpc_e6500
202         default "power4"        if BR2_powerpc_power4
203         default "power5"        if BR2_powerpc_power5
204         default "power6"        if BR2_powerpc_power6
205         default "power7"        if BR2_powerpc_power7
206         default "power8"        if BR2_powerpc_power8
207
208 config BR2_GCC_TARGET_ABI
209         default "altivec"               if BR2_PPC_ABI_altivec
210         default "no-altivec"            if BR2_PPC_ABI_no-altivec
211         default "spe"                   if BR2_PPC_ABI_spe
212         default "no-spe"                if BR2_PPC_ABI_no-spe
213         default "ibmlongdouble"         if BR2_PPC_ABI_ibmlongdouble
214         default "ieeelongdouble"        if BR2_PPC_ABI_ieeelongdouble
215
216 config BR2_READELF_ARCH_NAME
217         default "PowerPC"       if BR2_powerpc
218         default "PowerPC64"     if BR2_powerpc64 || BR2_powerpc64le