bump version
[buildroot.git] / toolchain / Config.in.2
blob5718ab8c45f9035bff1b7f0291c85d469017f0fa
1 if BR2_TOOLCHAIN_SOURCE
2 source "toolchain/kernel-headers/Config.in"
4 choice
5         prompt "C library"
6         default BR2_LIBC_FLAVOUR_uclibc
7         help
8           Select the libc you want to use.
9           If you set this to anything but uClibc then you're on your own
10           as far as i'm concerned.
12 config BR2_LIBC_FLAVOUR_uclibc
13         bool "uClibc"
14         help
15           The uClibc.
16           http://uClibc.org/
18 config BR2_LIBC_FLAVOUR_glibc
19         bool "GNU libc"
20         help
21           The GNU libc.
22           http://gnu.org/software/libc
23 # etc..
24 endchoice
25 config BR2_LIBC_NAME
26         string
27         default uclibc  if BR2_LIBC_FLAVOUR_uclibc
28         default glibc   if BR2_LIBC_FLAVOUR_glibc
30 if BR2_LIBC_FLAVOUR_uclibc
31 source "toolchain/uClibc/Config.in"
32 endif
33 if BR2_LIBC_FLAVOUR_glibc
34 #source "toolchain/glibc/Config.in"
35 endif
36 source "toolchain/binutils/Config.in"
37 source "toolchain/gcc/Config.in"
38 source "toolchain/ccache/Config.in"
39 source "toolchain/gdb/Config.in"
40 source "toolchain/elf2flt/Config.in"
41 source "toolchain/mklibs/Config.in"
43 comment "Common Toolchain Options"
45 source "toolchain/sstrip/Config.in"
47 config BR2_ENABLE_SHARED
48         bool "Enable shared library support?"
49         default y
50         help
51           Enable shared library support.
53 config BR2_ENABLE_MULTILIB
54         bool "Enable multilib support?"
55         default n
56         help
57           Build libraries to support different ABIs.
59 config BR2_ENABLE_SSP
60         bool "Enable SSP support?"
61         default n
62         help
63           Enable stack-protector support.
64           Emit extra code to check for buffer overflows, such as stack
65           smashing attacks.  This is done by adding a guard variable
66           to functions with vulnerable objects.
68           This increases binary size so only enable this for development.
70 config BR2_ENABLE_MUDFLAP
71         bool "Enable mudflap support?"
72         default n
73         help
74           Enable libmudflap support.
76 config BR2_ENABLE_LIBGOMP
77         bool "Enable GNU openMP support?"
78         default n
79         help
80           Enable libgomp support.
82 config BR2_LARGEFILE
83         bool "Enable large file (files > 2 GB) support?"
84         depends on !BR2_cris
85         default n
86         help
87           Enable large file (files > 2 GB) support
89 config BR2_INET_IPV6
90         bool "Enable IPv6"
91         default n
92         help
93           Enable IPv6.
95 config BR2_INET_RPC
96         bool "Enable RPC"
97         default n
98         help
99           Enable RPC. RPC support is needed for nfs.
101 config BR2_USE_WCHAR
102         bool "Enable WCHAR support"
103         default n
104         help
105           Enable WCHAR. WCHAR support is needed for several packages
107 config BR2_SOFT_FLOAT_FORCE
108         def_bool n
109         select BR2_SOFT_FLOAT
110 #       help
111 #         Architectures which do not support hardware floating point
112 #         select this symbol.
114 config BR2_SOFT_FLOAT
115         bool "Use software floating point by default"
116         default n
117         depends on BR2_alpha || BR2_arm || BR2_armeb || BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc
118         help
119           If your target CPU does not have a Floating Point Unit (FPU) or a
120           kernel FPU emulator, but you still wish to support floating point
121           functions, then everything will need to be compiled with soft
122           floating point support (-msoft-float).
124           Most people will answer N.
126 #config BR2_SOFT_FLOAT_FP
127 #       bool "Use softfp"
128 #       default n
130 config BR2_HAVE_NOMMU
131         def_bool n
132         # assume that we have an MMU per default.
134 config BR2_USE_MMU
135         bool "Use MMU"
136         default y
137         depends on !BR2_HAVE_NOMMU
138         help
139           If your target has an MMU and you want to use it then say Y here.
141 config BR2_TARGET_OPTIMIZATION
142         string "Target Optimizations"
143         default "-Os -pipe"
144         help
145           Optimizations to use when building for the target host.
147 config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
148         bool "Include target utils in cross toolchain"
149         default y
150         help
151           When using buildroot to build a deployable cross toolchain,
152           it is handy to include certain target apps with that toolchain
153           as a convenience.
154           Examples include ldd, gdbserver, and strace.
156           Answer Y if you want these apps (if built) copied into the
157           cross toolchain dir under <arch>-linux-uclibc/target_utils/.
159 endif