uboot-tools: add patch to fix linking with libubootenv
[buildroot-gz.git] / arch / Config.in.mips
blobfda1a1d7e7da4262e30dc0ebd882ccafe37da0ff
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
9           64bit cabable: 64, 64r2, 64r6
10           non-64bit capable: 32, 32r2, 32r6
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_32r6
19         bool "mips 32r6"
20         depends on !BR2_ARCH_IS_64
21 config BR2_mips_64
22         bool "mips 64"
23         depends on BR2_ARCH_IS_64
24 config BR2_mips_64r2
25         bool "mips 64r2"
26         depends on BR2_ARCH_IS_64
27 config BR2_mips_64r6
28         bool "mips 64r6"
29         depends on BR2_ARCH_IS_64
30 endchoice
33 choice
34         prompt "Target ABI"
35         depends on BR2_mips64 || BR2_mips64el
36         default BR2_MIPS_NABI32
38         help
39           Application Binary Interface to use
41 config BR2_MIPS_NABI32
42         bool "n32"
43         depends on BR2_ARCH_IS_64
44         select BR2_KERNEL_64_USERLAND_32
45 config BR2_MIPS_NABI64
46         bool "n64"
47         depends on BR2_ARCH_IS_64
48 endchoice
50 config BR2_MIPS_SOFT_FLOAT
51         bool "Use soft-float"
52         default y
53         select BR2_SOFT_FLOAT
54         help
55           If your target CPU does not have a Floating Point Unit (FPU)
56           or a kernel FPU emulator, but you still wish to support
57           floating point functions, then everything will need to be
58           compiled with soft floating point support (-msoft-float).
60 config BR2_ARCH
61         default "mips"          if BR2_mips
62         default "mipsel"        if BR2_mipsel
63         default "mips64"        if BR2_mips64
64         default "mips64el"      if BR2_mips64el
66 config BR2_ENDIAN
67         default "LITTLE"        if BR2_mipsel || BR2_mips64el
68         default "BIG"           if BR2_mips || BR2_mips64
70 config BR2_GCC_TARGET_ARCH
71         default "mips32"        if BR2_mips_32
72         default "mips32r2"      if BR2_mips_32r2
73         default "mips32r6"      if BR2_mips_32r6
74         default "mips64"        if BR2_mips_64
75         default "mips64r2"      if BR2_mips_64r2
76         default "mips64r6"      if BR2_mips_64r6
78 config BR2_MIPS_OABI32
79         bool
80         default y               if BR2_mips || BR2_mipsel
82 config BR2_GCC_TARGET_ABI
83         default "32"            if BR2_MIPS_OABI32
84         default "n32"           if BR2_MIPS_NABI32
85         default "64"            if BR2_MIPS_NABI64