toolchain-common.in 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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_UCLIBC && BR2_ENABLE_LOCALE) || \
  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. Note that options with a '$' sign (eg. -Wl,-rpath='$ORIGIN/../lib')
  106. are not supported.
  107. config BR2_ECLIPSE_REGISTER
  108. bool "Register toolchain within Eclipse Buildroot plug-in"
  109. help
  110. This options tells Buildroot to generate the necessary
  111. configuration files to make your toolchain appear within
  112. Eclipse, through the Eclipse Buildroot plugin.
  113. # Options for packages to depend on, if they require at least a
  114. # specific version of the kernel headers.
  115. # Toolchains should choose the adequate option (ie. the highest
  116. # version, not all of them).
  117. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  118. bool
  119. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  120. bool
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  122. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  123. bool
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  125. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  126. bool
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  128. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  129. bool
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  131. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  132. bool
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  134. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  135. bool
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  137. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  138. bool
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  140. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  141. bool
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  143. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  144. bool
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  146. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  147. bool
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  149. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  150. bool
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  152. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  153. bool
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  155. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  156. bool
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  158. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  159. bool
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  161. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  162. bool
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  164. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  165. bool
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  167. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  168. bool
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  170. # This order guarantees that the highest version is set, as kconfig
  171. # stops affecting a value on the first matching default.
  172. config BR2_TOOLCHAIN_HEADERS_AT_LEAST
  173. string
  174. default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  175. default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  176. default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  177. default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  178. default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  179. default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  180. default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  181. default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  182. default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  183. default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  184. default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  185. default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  186. default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  187. default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  188. default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  189. default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  190. default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  191. default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  192. default "2.6"