Config.in.2 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. #
  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.
  11. config BR2_INET_IPV6
  12. bool "Enable IPv6"
  13. help
  14. If you are building your own toolchain and you want to
  15. enable IPV6 support then enable this option.
  16. If you have an external binary toolchain that has been
  17. built with IPV6 support then enable this option.
  18. config BR2_INET_RPC
  19. bool "Enable RPC"
  20. help
  21. Enable RPC. RPC support is needed for nfs.
  22. If you are building your own toolchain and you want to
  23. enable RPC support then enable this option.
  24. If you have an external binary toolchain that has been
  25. built with RPC support then enable this option.
  26. config BR2_ENABLE_LOCALE
  27. bool "Enable toolchain locale/i18n support?"
  28. select BR2_USE_WCHAR
  29. help
  30. If you are building your own toolchain and you want to
  31. enable locale/i18n support then enable this option.
  32. If you have an external binary toolchain that has been
  33. built with locale/i18n support then enable this option.
  34. config BR2_ENABLE_LOCALE_PURGE
  35. bool "Purge unwanted locales"
  36. help
  37. Explicitly specify what locales to install on target. If N
  38. then all locales supported by packages are installed.
  39. config BR2_ENABLE_LOCALE_WHITELIST
  40. string "Locales to keep"
  41. default "C en_US de fr"
  42. depends on BR2_ENABLE_LOCALE_PURGE
  43. help
  44. Whitespace seperated list of locales to allow on target.
  45. Locales not listed here will be removed from the target.
  46. See 'locale -a' on your host for a list of locales available
  47. on your build host, or have a look in /usr/share/locale in
  48. the target file system for available locales.
  49. Notice that listing a locale here doesn't guarantee that it
  50. will be available on the target - That purely depends on the
  51. support for that locale in the selected packages.
  52. config BR2_USE_WCHAR
  53. bool "Enable WCHAR support"
  54. help
  55. If you are building your own toolchain and you want to
  56. enable WCHAR support then enable this option.
  57. If you have an external binary toolchain that has been built
  58. with WCHAR support then enable this option.
  59. config BR2_PREFER_SOFT_FLOAT
  60. bool
  61. default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel
  62. config BR2_SOFT_FLOAT
  63. bool "Use software floating point by default"
  64. depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc
  65. default $(BR2_PREFER_SOFT_FLOAT)
  66. help
  67. If your target CPU does not have a Floating Point Unit (FPU) or a
  68. kernel FPU emulator, but you still wish to support floating point
  69. functions, then everything will need to be compiled with soft
  70. floating point support (-msoft-float).
  71. config BR2_USE_SSP
  72. bool "Enable stack protection support"
  73. help
  74. Enable stack smashing protection support using GCCs
  75. -fstack-protector[-all] option.
  76. See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
  77. for details.
  78. choice
  79. prompt "Thread library implementation"
  80. default BR2_PTHREADS_OLD
  81. help
  82. If you are building your own toolchain then select the type of
  83. libpthreads you want to use.
  84. Not all thread variants work with all versions of uClibc,
  85. the "linuxthreads (stable/old)" may be a working fallback
  86. if you need threading at all.
  87. If you have an external binary toolchain then select the type
  88. of libpthreads it was built with.
  89. config BR2_PTHREADS_NONE
  90. bool "none"
  91. config BR2_PTHREADS
  92. bool "linuxthreads"
  93. config BR2_PTHREADS_OLD
  94. bool "linuxthreads (stable/old)"
  95. config BR2_PTHREADS_NATIVE
  96. bool "Native POSIX Threading (NPTL)"
  97. depends on BR2_UCLIBC_VERSION_SNAPSHOT
  98. endchoice
  99. config BR2_PROGRAM_INVOCATION
  100. bool "Enable 'program invocation name'"
  101. help
  102. Support for the GNU-specific program_invocation_name and
  103. program_invocation_short_name strings. Some GNU packages
  104. (like tar and coreutils) utilize these for extra useful
  105. output, but in general are not required.
  106. If you have an external binary toolchain that has been built
  107. with program invocation support then enable this option.
  108. config BR2_GCC_CROSS_CXX
  109. bool
  110. help
  111. If you are building your own toolchain and want to build
  112. a C++ cross-compiler this needs to be enabled.
  113. If you have an external binary toolchain that has a C++ compiler
  114. and you want to use it then you need to enable this option.
  115. config BR2_INSTALL_LIBSTDCPP
  116. bool "Build/install c++ compiler and libstdc++?"
  117. select BR2_LARGEFILE if (!BR2_GCC_SUPPORTS_SYSROOT && BR2_TOOLCHAIN_BUILDROOT)
  118. select BR2_GCC_CROSS_CXX
  119. help
  120. If you are building your own toolchain and want to build and install
  121. the C++ compiler and library then you need to enable this option.
  122. If you have an external toolchain that has been built with C++
  123. support and you want to use the compiler / library then you need
  124. to select this option.
  125. config BR2_TARGET_OPTIMIZATION
  126. string "Target Optimizations"
  127. default "-Os -pipe"
  128. help
  129. Optimizations to use when building for the target host.
  130. if BR2_TOOLCHAIN_BUILDROOT
  131. source "toolchain/elf2flt/Config.in"
  132. source "toolchain/mklibs/Config.in"
  133. source "toolchain/sstrip/Config.in"
  134. config BR2_ENABLE_MULTILIB
  135. bool "Enable multilib support?"
  136. help
  137. Build libraries to support different ABIs.
  138. config BR2_VFP_FLOAT
  139. bool "Use ARM Vector Floating Point unit"
  140. depends on !BR2_SOFT_FLOAT
  141. depends on BR2_arm || BR2_armeb
  142. help
  143. Setting this option will enable the "-mfpu=vfp" option.
  144. If your ARM CPU has a Vector Floating Point Unit (VFP)
  145. and the toolchain supports the option, then the
  146. code can be optimized.
  147. Most people will answer N.
  148. config BR2_CROSS_TOOLCHAIN_TARGET_UTILS
  149. bool "Include target utils in cross toolchain"
  150. default y
  151. help
  152. When using buildroot to build a deployable cross toolchain,
  153. it is handy to include certain target apps with that toolchain
  154. as a convenience.
  155. 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/.
  158. endif