7630503ed265831014c9ef04a85897fe789320fe
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / arch / Config.in.mips
1 choice
2         prompt "Target Architecture Variant"
3         depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
4         default BR2_mips_32 if BR2_mips || BR2_mipsel
5         default BR2_mips_64 if BR2_mips64 || BR2_mips64el
6         help
7           Specific CPU variant to use
8
9           64bit cabable: 3, 4, 64, 64r2
10           non-64bit capable: 1, 2, 32, 32r2
11
12 config BR2_mips_32
13         bool "mips 32"
14         depends on !BR2_ARCH_IS_64
15 config BR2_mips_32r2
16         bool "mips 32r2"
17         depends on !BR2_ARCH_IS_64
18 config BR2_mips_64
19         bool "mips 64"
20         depends on BR2_ARCH_IS_64
21 config BR2_mips_64r2
22         bool "mips 64r2"
23         depends on BR2_ARCH_IS_64
24 endchoice
25
26
27 choice
28         prompt "Target ABI"
29         depends on BR2_mips64 || BR2_mips64el
30         default BR2_MIPS_NABI32
31
32         help
33           Application Binary Interface to use
34
35 config BR2_MIPS_NABI32
36         bool "n32"
37         depends on BR2_ARCH_IS_64
38         select BR2_KERNEL_64_USERLAND_32
39 config BR2_MIPS_NABI64
40         bool "n64"
41         depends on BR2_ARCH_IS_64
42 endchoice
43
44 config BR2_MIPS_SOFT_FLOAT
45         bool "Use soft-float"
46         default y
47         select BR2_SOFT_FLOAT
48         help
49           If your target CPU does not have a Floating Point Unit (FPU)
50           or a kernel FPU emulator, but you still wish to support
51           floating point functions, then everything will need to be
52           compiled with soft floating point support (-msoft-float).
53
54 config BR2_ARCH
55         default "mips"          if BR2_mips
56         default "mipsel"        if BR2_mipsel
57         default "mips64"        if BR2_mips64
58         default "mips64el"      if BR2_mips64el
59
60 config BR2_ENDIAN
61         default "LITTLE"        if BR2_mipsel || BR2_mips64el
62         default "BIG"           if BR2_mips || BR2_mips64
63
64 config BR2_ARCH_HAS_ATOMICS
65         default y
66
67 config BR2_GCC_TARGET_ARCH
68         default "mips1"         if BR2_mips_1
69         default "mips2"         if BR2_mips_2
70         default "mips3"         if BR2_mips_3
71         default "mips4"         if BR2_mips_4
72         default "mips32"        if BR2_mips_32
73         default "mips32r2"      if BR2_mips_32r2
74         default "mips64"        if BR2_mips_64
75         default "mips64r2"      if BR2_mips_64r2
76
77 config BR2_MIPS_OABI32
78         bool
79         default y               if BR2_mips || BR2_mipsel
80
81 config BR2_GCC_TARGET_ABI
82         default "32"            if BR2_MIPS_OABI32
83         default "n32"           if BR2_MIPS_NABI32
84         default "64"            if BR2_MIPS_NABI64