busybox: additional 1.13.2 fixes
[avatt.git] / toolchain / Config.in.2
blob6daca62d8710513bde8cb6c451460f1b8a0c6acc
2 config BR2_LARGEFILE
3         bool "Enable large file (files > 2 GB) support?"
4         depends on !BR2_cris
5         help
6           If you are building your own toolchain and you want to 
7           support files larger than 2GB then enable this option.
8           If you have an external binary toolchain that has been 
9           built with large file support (files > 2GB) then enable 
10           this option.
12 config BR2_INET_IPV6
13         bool "Enable IPv6"
14         help
15           If you are building your own toolchain and you want to 
16           enable IPV6 support then enable this option.
17           If you have an external binary toolchain that has been 
18           built with IPV6 support then enable this option.
20 config BR2_INET_RPC
21         bool "Enable RPC"
22         help
23           Enable RPC. RPC support is needed for nfs.
24           If you are building your own toolchain and you want to 
25           enable RPC support then enable this option.
26           If you have an external binary toolchain that has been 
27           built with RPC support then enable this option.
29 config BR2_ENABLE_LOCALE
30         bool "Enable locale/gettext/i18n support?"
31         help
32           If you are building your own toolchain and you want to 
33           enable locale/gettext/i18n support then enable this option.
34           If you have an external binary toolchain that has been 
35           built with locale/gettext/i18n support then enable this option.
37 config BR2_ENABLE_LOCALE_PREGENERATED
38         bool "Use pregenerated locale data?"
39         depends on BR2_ENABLE_LOCALE && BR2_TOOLCHAIN_SOURCE
40         help
41           Instead of generating the locale data locally you can optionally
42           download a pregenerated set of locales.
44           Say N here unless your buildhost lacks locale support and you
45           desparately want to use internationalization on your target.
47 config BR2_USE_WCHAR
48         bool "Enable WCHAR support"
49         help
50           If you are building your own toolchain and you want to 
51           enable WCHAR support then enable this option.
52           If you have an external binary toolchain that has been built 
53           with WCHAR support then enable this option.
55 config BR2_SOFT_FLOAT
56         bool "Use software floating point by default"
57         depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_nios2
58         help
59           If your target CPU does not have a Floating Point Unit (FPU) or a
60           kernel FPU emulator, but you still wish to support floating point
61           functions, then everything will need to be compiled with soft
62           floating point support (-msoft-float).
64           Most people will answer N.
66 choice
67         prompt "Thread library implementation"
68         default BR2_PTHREADS_OLD
69         help
70           If you are building your own toolchain then select the type of 
71           libpthreads you want to use.
72           Not all thread variants work with all versions of uClibc,
73           the "linuxthreads (stable/old)" may be a working fallback
74           if you need threading at all.
75           If you have an external binary toolchain then select the type 
76           of libpthreads it was built with.
78         config BR2_PTHREADS_NONE
79                 bool "none"
81         config BR2_PTHREADS
82                 bool "linuxthreads"
84         config BR2_PTHREADS_OLD
85                 bool "linuxthreads (stable/old)"
87         config BR2_PTHREADS_NATIVE
88                 bool "Native POSIX Threading (NPTL)"
89 endchoice
91 config BR2_GCC_CROSS_CXX
92         bool
93         help
94           If you are building your own toolchain and want to build 
95           a C++ cross-compiler this needs to be enabled.
96           If you have an external binary toolchain that has a C++ compiler
97           and you want to use it then you need to enable this option.
99 config BR2_INSTALL_LIBSTDCPP
100         bool "Build/install c++ compiler and libstdc++?"
101         select BR2_LARGEFILE if (!BR2_GCC_SUPPORTS_SYSROOT && BR2_TOOLCHAIN_SOURCE)
102         select BR2_GCC_CROSS_CXX
103         help
104           If you are building your own toolchain and want to build and install
105           the C++ compiler and library then you need to enable this option.
106           If you have an external toolchain that has been built with C++ 
107           support and you want to use the compiler / library then you need 
108           to select this option.
110 config BR2_TARGET_OPTIMIZATION
111         string "Target Optimizations"
112         default "-Os -pipe"
113         help
114           Optimizations to use when building for the target host.
116 if BR2_TOOLCHAIN_SOURCE
117 source "toolchain/elf2flt/Config.in"
118 source "toolchain/mklibs/Config.in"
119 source "toolchain/sstrip/Config.in"
121 config BR2_ENABLE_MULTILIB
122         bool "Enable multilib support?"
123         help
124             Build libraries to support different ABIs.
126 config BR2_VFP_FLOAT
127         bool "Use ARM Vector Floating Point unit"
128         depends on !BR2_SOFT_FLOAT
129         depends on BR2_arm || BR2_armeb
130         help
131           Setting this option will enable the "-mfpu=vfp" option.
132           If your ARM CPU has a Vector Floating Point Unit (VFP)
133           and the toolchain supports the option, then the 
134           code can be optimized.
135           
136           Most people will answer N.
138 config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
139         bool "Include target utils in cross toolchain"
140         default y
141         help
142           When using buildroot to build a deployable cross toolchain,
143           it is handy to include certain target apps with that toolchain
144           as a convenience.
145           Examples include ldd, gdbserver, and strace.
147           Answer Y if you want these apps (if built) copied into the
148           cross toolchain dir under <arch>-linux-uclibc/target_utils/.
150 endif