package/hiredis: fix makefile code
[buildroot-gz.git] / arch / Config.in.mips
blobce41e9e725f3a9bf52429f6e9e43c4033edc4121
1 # mips default CPU ISAs
2 config BR2_MIPS_CPU_MIPS32
3         bool
4 config BR2_MIPS_CPU_MIPS32R2
5         bool
6 config BR2_MIPS_CPU_MIPS32R5
7         bool
8 config BR2_MIPS_CPU_MIPS32R6
9         bool
10 config BR2_MIPS_CPU_MIPS64
11         bool
12 config BR2_MIPS_CPU_MIPS64R2
13         bool
14 config BR2_MIPS_CPU_MIPS64R5
15         bool
16 config BR2_MIPS_CPU_MIPS64R6
17         bool
19 choice
20         prompt "Target Architecture Variant"
21         depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
22         default BR2_mips_32 if BR2_mips || BR2_mipsel
23         default BR2_mips_64 if BR2_mips64 || BR2_mips64el
24         help
25           Specific CPU variant to use
27           64bit cabable: 64, 64r2, 64r5, 64r6
28           non-64bit capable: 32, 32r2, 32r5, 32r6
30 config BR2_mips_32
31         bool "Generic MIPS32"
32         depends on !BR2_ARCH_IS_64
33         select BR2_MIPS_CPU_MIPS32
34 config BR2_mips_32r2
35         bool "Generic MIPS32R2"
36         depends on !BR2_ARCH_IS_64
37         select BR2_MIPS_CPU_MIPS32R2
38 config BR2_mips_32r5
39         bool "Generic MIPS32R5"
40         depends on !BR2_ARCH_IS_64
41         select BR2_MIPS_CPU_MIPS32R5
42 config BR2_mips_32r6
43         bool "Generic MIPS32R6"
44         depends on !BR2_ARCH_IS_64
45         select BR2_MIPS_CPU_MIPS32R6
46 config BR2_mips_interaptiv
47         bool "interAptiv"
48         depends on !BR2_ARCH_IS_64
49         select BR2_MIPS_CPU_MIPS32R2
50 config BR2_mips_m5150
51         bool "M5150"
52         depends on !BR2_ARCH_IS_64
53         select BR2_MIPS_CPU_MIPS32R5
54 config BR2_mips_m6250
55         bool "M6250"
56         depends on !BR2_ARCH_IS_64
57         select BR2_MIPS_CPU_MIPS32R6
58 config BR2_mips_p5600
59         bool "P5600"
60         depends on !BR2_ARCH_IS_64
61         select BR2_MIPS_CPU_MIPS32R5
62 config BR2_mips_xburst
63         bool "XBurst"
64         depends on !BR2_ARCH_IS_64
65         select BR2_MIPS_CPU_MIPS32R2
66         help
67           The Ingenic XBurst is a MIPS32R2 microprocessor. It has a
68           bug in the FPU that can generate incorrect results in
69           certain cases. The problem shows up when you have several
70           fused madd instructions in sequence with dependant
71           operands. This requires the -mno-fused-madd compiler option
72           to be used in order to prevent emitting these instructions.
74           See http://www.ingenic.com/en/?xburst.html
75 config BR2_mips_64
76         bool "Generic MIPS64"
77         depends on BR2_ARCH_IS_64
78         select BR2_MIPS_CPU_MIPS64
79 config BR2_mips_64r2
80         bool "Generic MIPS64R2"
81         depends on BR2_ARCH_IS_64
82         select BR2_MIPS_CPU_MIPS64R2
83 config BR2_mips_64r5
84         bool "Generic MIPS64R5"
85         depends on BR2_ARCH_IS_64
86         select BR2_MIPS_CPU_MIPS64R5
87 config BR2_mips_64r6
88         bool "Generic MIPS64R6"
89         depends on BR2_ARCH_IS_64
90         select BR2_MIPS_CPU_MIPS64R6
91 config BR2_mips_i6400
92         bool "I6400"
93         depends on BR2_ARCH_IS_64
94         select BR2_MIPS_CPU_MIPS64R6
95 config BR2_mips_p6600
96         bool "P6600"
97         depends on BR2_ARCH_IS_64
98         select BR2_MIPS_CPU_MIPS64R6
99 endchoice
102 choice
103         prompt "Target ABI"
104         depends on BR2_mips64 || BR2_mips64el
105         default BR2_MIPS_NABI32
107         help
108           Application Binary Interface to use
110 config BR2_MIPS_NABI32
111         bool "n32"
112         depends on BR2_ARCH_IS_64
113         select BR2_KERNEL_64_USERLAND_32
114 config BR2_MIPS_NABI64
115         bool "n64"
116         depends on BR2_ARCH_IS_64
117 endchoice
119 config BR2_MIPS_SOFT_FLOAT
120         bool "Use soft-float"
121         default y
122         select BR2_SOFT_FLOAT
123         help
124           If your target CPU does not have a Floating Point Unit (FPU)
125           or a kernel FPU emulator, but you still wish to support
126           floating point functions, then everything will need to be
127           compiled with soft floating point support (-msoft-float).
129 config BR2_ARCH
130         default "mips"          if BR2_mips
131         default "mipsel"        if BR2_mipsel
132         default "mips64"        if BR2_mips64
133         default "mips64el"      if BR2_mips64el
135 config BR2_ENDIAN
136         default "LITTLE"        if BR2_mipsel || BR2_mips64el
137         default "BIG"           if BR2_mips || BR2_mips64
139 config BR2_GCC_TARGET_ARCH
140         default "mips32"        if BR2_mips_32
141         default "mips32r2"      if BR2_mips_32r2
142         default "mips32r5"      if BR2_mips_32r5
143         default "mips32r6"      if BR2_mips_32r6
144         default "interaptiv"    if BR2_mips_interaptiv
145         default "m5101"         if BR2_mips_m5150
146         default "m6201"         if BR2_mips_m6250
147         default "p5600"         if BR2_mips_p5600
148         default "mips32r2"      if BR2_mips_xburst
149         default "mips64"        if BR2_mips_64
150         default "mips64r2"      if BR2_mips_64r2
151         default "mips64r5"      if BR2_mips_64r5
152         default "mips64r6"      if BR2_mips_64r6
153         default "i6400"         if BR2_mips_i6400
154         default "p6600"         if BR2_mips_p6600
156 config BR2_MIPS_OABI32
157         bool
158         default y               if BR2_mips || BR2_mipsel
160 config BR2_GCC_TARGET_ABI
161         default "32"            if BR2_MIPS_OABI32
162         default "n32"           if BR2_MIPS_NABI32
163         default "64"            if BR2_MIPS_NABI64