blob: 35263ce8169d3b6b0e9d1fe1d0b834c51a5d99a6 [file] [log] [blame]
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00001#
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00002config BR2_LARGEFILE
3 bool "Enable large file (files > 2 GB) support?"
4 depends on !BR2_cris
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +00005 help
Daniel Laird040bd642009-01-30 16:28:26 +00006 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.
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000011
Bernhard Reutner-Fischera48d8f52007-06-26 16:34:45 +000012config BR2_INET_IPV6
13 bool "Enable IPv6"
Bernhard Reutner-Fischera48d8f52007-06-26 16:34:45 +000014 help
Daniel Laird040bd642009-01-30 16:28:26 +000015 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.
Bernhard Reutner-Fischera48d8f52007-06-26 16:34:45 +000019
20config BR2_INET_RPC
21 bool "Enable RPC"
Bernhard Reutner-Fischera48d8f52007-06-26 16:34:45 +000022 help
Daniel Laird040bd642009-01-30 16:28:26 +000023 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.
28
29config BR2_ENABLE_LOCALE
Will Newton27ce9422009-07-27 10:39:50 +020030 bool "Enable toolchain locale/i18n support?"
31 select BR2_USE_WCHAR
Daniel Laird040bd642009-01-30 16:28:26 +000032 help
33 If you are building your own toolchain and you want to
Will Newton27ce9422009-07-27 10:39:50 +020034 enable locale/i18n support then enable this option.
Daniel Laird040bd642009-01-30 16:28:26 +000035 If you have an external binary toolchain that has been
Will Newton27ce9422009-07-27 10:39:50 +020036 built with locale/i18n support then enable this option.
Daniel Laird040bd642009-01-30 16:28:26 +000037
Peter Korsgaardb87b4742009-04-06 09:21:26 +000038config BR2_ENABLE_LOCALE_PURGE
39 bool "Purge unwanted locales"
Peter Korsgaardb87b4742009-04-06 09:21:26 +000040 help
41 Explicitly specify what locales to install on target. If N
42 then all locales supported by packages are installed.
43
44config BR2_ENABLE_LOCALE_WHITELIST
45 string "Locales to keep"
46 default "C en_US de fr"
47 depends on BR2_ENABLE_LOCALE_PURGE
48 help
49 Whitespace seperated list of locales to allow on target.
50 Locales not listed here will be removed from the target.
51 See 'locale -a' on your host for a list of locales available
52 on your build host, or have a look in /usr/share/locale in
53 the target file system for available locales.
54
55 Notice that listing a locale here doesn't guarantee that it
56 will be available on the target - That purely depends on the
57 support for that locale in the selected packages.
58
Thomas Petazzoni4caf7882010-05-24 21:17:50 +020059# glibc and eglibc directly include gettext, so a separatly compiled
60# gettext isn't needed and shouldn't be built to avoid conflicts. Some
61# packages always need gettext, other packages only need gettext when
62# locale support is enabled. See the documentation for how packages
63# should rely on the following two options.
64
Thomas Petazzoni54d64792010-05-13 22:21:08 +020065config BR2_NEEDS_GETTEXT
66 bool
Thomas Petazzoni4caf7882010-05-24 21:17:50 +020067 default y if BR2_TOOLCHAIN_BUILDROOT
68 default y if BR2_TOOLCHAIN_EXTERNAL_UCLIBC
69
70config BR2_NEEDS_GETTEXT_IF_LOCALE
71 bool
72 default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
Thomas Petazzoni54d64792010-05-13 22:21:08 +020073
Ulf Samuelssondd65a3c2007-07-31 22:38:52 +000074config BR2_USE_WCHAR
75 bool "Enable WCHAR support"
Ulf Samuelssondd65a3c2007-07-31 22:38:52 +000076 help
Daniel Laird040bd642009-01-30 16:28:26 +000077 If you are building your own toolchain and you want to
78 enable WCHAR support then enable this option.
79 If you have an external binary toolchain that has been built
80 with WCHAR support then enable this option.
Ulf Samuelssondd65a3c2007-07-31 22:38:52 +000081
Peter Korsgaard13e753b2009-11-09 14:53:04 +010082config BR2_PREFER_SOFT_FLOAT
83 bool
Peter Korsgaardf2204982010-03-30 17:18:25 +020084 default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel
Peter Korsgaard13e753b2009-11-09 14:53:04 +010085
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000086config BR2_SOFT_FLOAT
87 bool "Use software floating point by default"
Peter Korsgaardf2204982010-03-30 17:18:25 +020088 depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc
Peter Korsgaard13e753b2009-11-09 14:53:04 +010089 default $(BR2_PREFER_SOFT_FLOAT)
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +000090 help
91 If your target CPU does not have a Floating Point Unit (FPU) or a
92 kernel FPU emulator, but you still wish to support floating point
93 functions, then everything will need to be compiled with soft
94 floating point support (-msoft-float).
95
Peter Korsgaard503ab932009-04-22 07:27:22 +000096config BR2_USE_SSP
97 bool "Enable stack protection support"
98 help
99 Enable stack smashing protection support using GCCs
100 -fstack-protector[-all] option.
101
102 See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
103 for details.
104
Daniel Laird040bd642009-01-30 16:28:26 +0000105choice
106 prompt "Thread library implementation"
107 default BR2_PTHREADS_OLD
108 help
109 If you are building your own toolchain then select the type of
110 libpthreads you want to use.
111 Not all thread variants work with all versions of uClibc,
112 the "linuxthreads (stable/old)" may be a working fallback
113 if you need threading at all.
114 If you have an external binary toolchain then select the type
115 of libpthreads it was built with.
116
117 config BR2_PTHREADS_NONE
118 bool "none"
119
120 config BR2_PTHREADS
121 bool "linuxthreads"
122
123 config BR2_PTHREADS_OLD
124 bool "linuxthreads (stable/old)"
125
126 config BR2_PTHREADS_NATIVE
127 bool "Native POSIX Threading (NPTL)"
Thomas Petazzoni52fcd862010-02-21 20:52:12 +0100128 depends on BR2_UCLIBC_VERSION_SNAPSHOT
Daniel Laird040bd642009-01-30 16:28:26 +0000129endchoice
130
Thomas Petazzoni8d880c32009-07-31 11:40:34 +0200131config BR2_PROGRAM_INVOCATION
132 bool "Enable 'program invocation name'"
133 help
134 Support for the GNU-specific program_invocation_name and
135 program_invocation_short_name strings. Some GNU packages
136 (like tar and coreutils) utilize these for extra useful
137 output, but in general are not required.
138 If you have an external binary toolchain that has been built
139 with program invocation support then enable this option.
140
Daniel Laird040bd642009-01-30 16:28:26 +0000141config BR2_GCC_CROSS_CXX
142 bool
143 help
144 If you are building your own toolchain and want to build
145 a C++ cross-compiler this needs to be enabled.
146 If you have an external binary toolchain that has a C++ compiler
147 and you want to use it then you need to enable this option.
148
149config BR2_INSTALL_LIBSTDCPP
150 bool "Build/install c++ compiler and libstdc++?"
Daniel Laird040bd642009-01-30 16:28:26 +0000151 select BR2_GCC_CROSS_CXX
152 help
153 If you are building your own toolchain and want to build and install
154 the C++ compiler and library then you need to enable this option.
155 If you have an external toolchain that has been built with C++
156 support and you want to use the compiler / library then you need
157 to select this option.
158
159config BR2_TARGET_OPTIMIZATION
160 string "Target Optimizations"
Paul Jones36391de2010-06-14 22:36:04 +1000161 default "-pipe"
Daniel Laird040bd642009-01-30 16:28:26 +0000162 help
163 Optimizations to use when building for the target host.
Paul Jones36391de2010-06-14 22:36:04 +1000164 NOTE: gcc optimization level is defined in build options.
Daniel Laird040bd642009-01-30 16:28:26 +0000165
Thomas Petazzonibc994c52009-12-14 12:10:12 +0100166if BR2_TOOLCHAIN_BUILDROOT
Daniel Laird040bd642009-01-30 16:28:26 +0000167source "toolchain/elf2flt/Config.in"
168source "toolchain/mklibs/Config.in"
169source "toolchain/sstrip/Config.in"
170
171config BR2_ENABLE_MULTILIB
172 bool "Enable multilib support?"
173 help
174 Build libraries to support different ABIs.
175
Ulf Samuelsson6da70de2009-01-18 10:51:53 +0000176config BR2_VFP_FLOAT
177 bool "Use ARM Vector Floating Point unit"
178 depends on !BR2_SOFT_FLOAT
179 depends on BR2_arm || BR2_armeb
180 help
181 Setting this option will enable the "-mfpu=vfp" option.
182 If your ARM CPU has a Vector Floating Point Unit (VFP)
183 and the toolchain supports the option, then the
184 code can be optimized.
185
186 Most people will answer N.
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +0000187
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +0000188config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
189 bool "Include target utils in cross toolchain"
190 default y
191 help
192 When using buildroot to build a deployable cross toolchain,
193 it is handy to include certain target apps with that toolchain
194 as a convenience.
195 Examples include ldd, gdbserver, and strace.
196
197 Answer Y if you want these apps (if built) copied into the
198 cross toolchain dir under <arch>-linux-uclibc/target_utils/.
199
Bernhard Reutner-Fischer51a61c92007-09-22 14:16:25 +0000200endif