"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 1 | # |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 2 | config BR2_LARGEFILE |
| 3 | bool "Enable large file (files > 2 GB) support?" |
| 4 | depends on !BR2_cris |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 5 | help |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 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. |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 11 | |
Bernhard Reutner-Fischer | a48d8f5 | 2007-06-26 16:34:45 +0000 | [diff] [blame] | 12 | config BR2_INET_IPV6 |
| 13 | bool "Enable IPv6" |
Bernhard Reutner-Fischer | a48d8f5 | 2007-06-26 16:34:45 +0000 | [diff] [blame] | 14 | help |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 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. |
Bernhard Reutner-Fischer | a48d8f5 | 2007-06-26 16:34:45 +0000 | [diff] [blame] | 19 | |
| 20 | config BR2_INET_RPC |
| 21 | bool "Enable RPC" |
Bernhard Reutner-Fischer | a48d8f5 | 2007-06-26 16:34:45 +0000 | [diff] [blame] | 22 | help |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 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. |
| 28 | |
| 29 | config BR2_ENABLE_LOCALE |
Will Newton | 27ce942 | 2009-07-27 10:39:50 +0200 | [diff] [blame] | 30 | bool "Enable toolchain locale/i18n support?" |
| 31 | select BR2_USE_WCHAR |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 32 | help |
| 33 | If you are building your own toolchain and you want to |
Will Newton | 27ce942 | 2009-07-27 10:39:50 +0200 | [diff] [blame] | 34 | enable locale/i18n support then enable this option. |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 35 | If you have an external binary toolchain that has been |
Will Newton | 27ce942 | 2009-07-27 10:39:50 +0200 | [diff] [blame] | 36 | built with locale/i18n support then enable this option. |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 37 | |
Peter Korsgaard | b87b474 | 2009-04-06 09:21:26 +0000 | [diff] [blame] | 38 | config BR2_ENABLE_LOCALE_PURGE |
| 39 | bool "Purge unwanted locales" |
Peter Korsgaard | b87b474 | 2009-04-06 09:21:26 +0000 | [diff] [blame] | 40 | help |
| 41 | Explicitly specify what locales to install on target. If N |
| 42 | then all locales supported by packages are installed. |
| 43 | |
| 44 | config 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 Petazzoni | 4caf788 | 2010-05-24 21:17:50 +0200 | [diff] [blame] | 59 | # 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 Petazzoni | 54d6479 | 2010-05-13 22:21:08 +0200 | [diff] [blame] | 65 | config BR2_NEEDS_GETTEXT |
| 66 | bool |
Thomas Petazzoni | 4caf788 | 2010-05-24 21:17:50 +0200 | [diff] [blame] | 67 | default y if BR2_TOOLCHAIN_BUILDROOT |
| 68 | default y if BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 69 | |
| 70 | config BR2_NEEDS_GETTEXT_IF_LOCALE |
| 71 | bool |
| 72 | default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE) |
Thomas Petazzoni | 54d6479 | 2010-05-13 22:21:08 +0200 | [diff] [blame] | 73 | |
Ulf Samuelsson | dd65a3c | 2007-07-31 22:38:52 +0000 | [diff] [blame] | 74 | config BR2_USE_WCHAR |
| 75 | bool "Enable WCHAR support" |
Ulf Samuelsson | dd65a3c | 2007-07-31 22:38:52 +0000 | [diff] [blame] | 76 | help |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 77 | 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 Samuelsson | dd65a3c | 2007-07-31 22:38:52 +0000 | [diff] [blame] | 81 | |
Peter Korsgaard | 13e753b | 2009-11-09 14:53:04 +0100 | [diff] [blame] | 82 | config BR2_PREFER_SOFT_FLOAT |
| 83 | bool |
Peter Korsgaard | f220498 | 2010-03-30 17:18:25 +0200 | [diff] [blame] | 84 | default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel |
Peter Korsgaard | 13e753b | 2009-11-09 14:53:04 +0100 | [diff] [blame] | 85 | |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 86 | config BR2_SOFT_FLOAT |
| 87 | bool "Use software floating point by default" |
Peter Korsgaard | f220498 | 2010-03-30 17:18:25 +0200 | [diff] [blame] | 88 | depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc |
Peter Korsgaard | 13e753b | 2009-11-09 14:53:04 +0100 | [diff] [blame] | 89 | default $(BR2_PREFER_SOFT_FLOAT) |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 90 | 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 Korsgaard | 503ab93 | 2009-04-22 07:27:22 +0000 | [diff] [blame] | 96 | config 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 Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 105 | choice |
| 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 Petazzoni | 52fcd86 | 2010-02-21 20:52:12 +0100 | [diff] [blame] | 128 | depends on BR2_UCLIBC_VERSION_SNAPSHOT |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 129 | endchoice |
| 130 | |
Thomas Petazzoni | 8d880c3 | 2009-07-31 11:40:34 +0200 | [diff] [blame] | 131 | config 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 Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 141 | config 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 | |
| 149 | config BR2_INSTALL_LIBSTDCPP |
| 150 | bool "Build/install c++ compiler and libstdc++?" |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 151 | 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 | |
| 159 | config BR2_TARGET_OPTIMIZATION |
| 160 | string "Target Optimizations" |
Paul Jones | 36391de | 2010-06-14 22:36:04 +1000 | [diff] [blame] | 161 | default "-pipe" |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 162 | help |
| 163 | Optimizations to use when building for the target host. |
Paul Jones | 36391de | 2010-06-14 22:36:04 +1000 | [diff] [blame] | 164 | NOTE: gcc optimization level is defined in build options. |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 165 | |
Thomas Petazzoni | bc994c5 | 2009-12-14 12:10:12 +0100 | [diff] [blame] | 166 | if BR2_TOOLCHAIN_BUILDROOT |
Daniel Laird | 040bd64 | 2009-01-30 16:28:26 +0000 | [diff] [blame] | 167 | source "toolchain/elf2flt/Config.in" |
| 168 | source "toolchain/mklibs/Config.in" |
| 169 | source "toolchain/sstrip/Config.in" |
| 170 | |
| 171 | config BR2_ENABLE_MULTILIB |
| 172 | bool "Enable multilib support?" |
| 173 | help |
| 174 | Build libraries to support different ABIs. |
| 175 | |
Ulf Samuelsson | 6da70de | 2009-01-18 10:51:53 +0000 | [diff] [blame] | 176 | config 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" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 187 | |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 188 | config 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-Fischer | 51a61c9 | 2007-09-22 14:16:25 +0000 | [diff] [blame] | 200 | endif |