toolchain-common.in 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. # Generic toolchain options
  2. # we want gdb config in the middle of both source and external
  3. # toolchains, but mconf won't let us source the same file twice,
  4. # so put it here instead
  5. source "package/gdb/Config.in.host"
  6. config BR2_LARGEFILE
  7. bool
  8. config BR2_INET_IPV6
  9. bool
  10. config BR2_TOOLCHAIN_HAS_GCC_BUG_58595
  11. bool
  12. config BR2_TOOLCHAIN_HAS_GCC_BUG_58854
  13. bool
  14. config BR2_TOOLCHAIN_HAS_NATIVE_RPC
  15. bool
  16. config BR2_USE_WCHAR
  17. bool
  18. config BR2_ENABLE_LOCALE
  19. bool
  20. config BR2_INSTALL_LIBSTDCPP
  21. bool
  22. config BR2_TOOLCHAIN_HAS_THREADS
  23. bool
  24. config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  25. bool
  26. config BR2_TOOLCHAIN_HAS_THREADS_NPTL
  27. bool
  28. config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  29. bool
  30. config BR2_TOOLCHAIN_HAS_SSP
  31. bool
  32. config BR2_ENABLE_LOCALE_PURGE
  33. bool "Purge unwanted locales"
  34. help
  35. Explicitly specify what locales to install on target. If N
  36. then all locales supported by packages are installed.
  37. config BR2_ENABLE_LOCALE_WHITELIST
  38. string "Locales to keep"
  39. default "C en_US de fr"
  40. depends on BR2_ENABLE_LOCALE_PURGE
  41. help
  42. Whitespace seperated list of locales to allow on target.
  43. Locales not listed here will be removed from the target.
  44. See 'locale -a' on your host for a list of locales available
  45. on your build host, or have a look in /usr/share/locale in
  46. the target file system for available locales.
  47. Notice that listing a locale here doesn't guarantee that it
  48. will be available on the target - That purely depends on the
  49. support for that locale in the selected packages.
  50. config BR2_GENERATE_LOCALE
  51. string "Generate locale data"
  52. default ""
  53. depends on \
  54. BR2_TOOLCHAIN_BUILDROOT || \
  55. BR2_TOOLCHAIN_USES_GLIBC
  56. help
  57. Generate support for a list of locales. Locales can be
  58. specified with or without encoding, when no encoding is
  59. specified, UTF-8 is assumed. Examples of locales: en_US,
  60. fr_FR.UTF-8.
  61. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  62. bool "Copy gconv libraries"
  63. depends on BR2_TOOLCHAIN_USES_GLIBC
  64. help
  65. The gconv libraries are used to convert between different
  66. character sets (charsets).
  67. Say 'y' if you need to store and/or display different charsets.
  68. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
  69. string "Gconv libraries to copy"
  70. depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  71. help
  72. Set to the list of gconv libraries to copy.
  73. Leave empty to copy all gconv libraries.
  74. Specify only the basename of the libraries, leave
  75. out the .so extension. Eg.:
  76. IBM850 ISO8859-15 UNICODE
  77. Note: the full set of gconv libs are ~8MiB (on ARM).
  78. # glibc and eglibc directly include gettext, so a separatly compiled
  79. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  80. # packages always need gettext, other packages only need gettext when
  81. # locale support is enabled. See the documentation for how packages
  82. # should rely on the following two options.
  83. config BR2_NEEDS_GETTEXT
  84. bool
  85. default y if BR2_TOOLCHAIN_USES_UCLIBC
  86. config BR2_NEEDS_GETTEXT_IF_LOCALE
  87. bool
  88. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  89. config BR2_USE_MMU
  90. bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
  91. default y if !BR2_bfin
  92. help
  93. If your target has a MMU, you should say Y here. If you
  94. are unsure, just say Y.
  95. config BR2_TARGET_OPTIMIZATION
  96. string "Target Optimizations"
  97. default "-pipe"
  98. help
  99. Optimizations to use when building for the target host.
  100. NOTE: gcc optimization level is defined in build options.
  101. config BR2_TARGET_LDFLAGS
  102. string "Target linker options"
  103. help
  104. Extra options to pass to the linker when building for the target.
  105. config BR2_ECLIPSE_REGISTER
  106. bool "Register toolchain within Eclipse Buildroot plug-in"
  107. help
  108. This options tells Buildroot to generate the necessary
  109. configuration files to make your toolchain appear within
  110. Eclipse, through the Eclipse Buildroot plugin.
  111. # Options for packages to depend on, if they require at least a
  112. # specific version of the kernel headers.
  113. # Toolchains should choose the adequate option (ie. the highest
  114. # version, not all of them).
  115. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  116. bool
  117. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  118. bool
  119. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  120. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  121. bool
  122. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  123. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  124. bool
  125. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  126. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  127. bool
  128. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  129. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  130. bool
  131. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  132. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  133. bool
  134. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  135. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  136. bool
  137. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  138. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  139. bool
  140. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  141. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  142. bool
  143. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  144. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  145. bool
  146. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  147. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  148. bool
  149. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  150. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  151. bool
  152. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  153. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  154. bool
  155. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  156. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  157. bool
  158. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  159. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  160. bool
  161. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  162. # This order guarantees that the highest version is set, as kconfig
  163. # stops affecting a value on the first matching default.
  164. config BR2_TOOLCHAIN_HEADERS_AT_LEAST
  165. string
  166. default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  167. default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  168. default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  169. default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  170. default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  171. default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  172. default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  173. default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  174. default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  175. default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  176. default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  177. default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  178. default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  179. default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  180. default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  181. default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  182. default "2.6"