toolchain-common.in 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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_TOOLCHAIN_HAS_NATIVE_RPC
  7. bool
  8. config BR2_USE_WCHAR
  9. bool
  10. config BR2_ENABLE_LOCALE
  11. bool
  12. config BR2_INSTALL_LIBSTDCPP
  13. bool
  14. config BR2_TOOLCHAIN_HAS_THREADS
  15. bool
  16. config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  17. bool
  18. config BR2_TOOLCHAIN_HAS_THREADS_NPTL
  19. bool
  20. config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  21. bool
  22. config BR2_TOOLCHAIN_HAS_SSP
  23. bool
  24. config BR2_ENABLE_LOCALE_PURGE
  25. bool "Purge unwanted locales"
  26. help
  27. Explicitly specify what locales to install on target. If N
  28. then all locales supported by packages are installed.
  29. config BR2_ENABLE_LOCALE_WHITELIST
  30. string "Locales to keep"
  31. default "C en_US de fr"
  32. depends on BR2_ENABLE_LOCALE_PURGE
  33. help
  34. Whitespace seperated list of locales to allow on target.
  35. Locales not listed here will be removed from the target.
  36. See 'locale -a' on your host for a list of locales available
  37. on your build host, or have a look in /usr/share/locale in
  38. the target file system for available locales.
  39. Notice that listing a locale here doesn't guarantee that it
  40. will be available on the target - That purely depends on the
  41. support for that locale in the selected packages.
  42. config BR2_GENERATE_LOCALE
  43. string "Generate locale data"
  44. default ""
  45. depends on \
  46. (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
  47. BR2_TOOLCHAIN_USES_GLIBC
  48. help
  49. Generate support for a list of locales. Locales can be
  50. specified with or without encoding, when no encoding is
  51. specified, UTF-8 is assumed. Examples of locales: en_US,
  52. fr_FR.UTF-8.
  53. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  54. bool "Copy gconv libraries"
  55. depends on BR2_TOOLCHAIN_USES_GLIBC
  56. help
  57. The gconv libraries are used to convert between different
  58. character sets (charsets).
  59. Say 'y' if you need to store and/or display different charsets.
  60. config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST
  61. string "Gconv libraries to copy"
  62. depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
  63. help
  64. Set to the list of gconv libraries to copy.
  65. Leave empty to copy all gconv libraries.
  66. Specify only the basename of the libraries, leave
  67. out the .so extension. Eg.:
  68. IBM850 ISO8859-15 UNICODE
  69. Note: the full set of gconv libs are ~8MiB (on ARM).
  70. # glibc and eglibc directly include gettext, so a separatly compiled
  71. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  72. # packages always need gettext, other packages only need gettext when
  73. # locale support is enabled. See the documentation for how packages
  74. # should rely on the following two options.
  75. config BR2_NEEDS_GETTEXT
  76. bool
  77. default y if BR2_TOOLCHAIN_USES_UCLIBC
  78. config BR2_NEEDS_GETTEXT_IF_LOCALE
  79. bool
  80. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  81. config BR2_USE_MMU
  82. bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL
  83. default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY
  84. help
  85. If your target has a MMU, you should say Y here. If you
  86. are unsure, just say Y.
  87. config BR2_TARGET_OPTIMIZATION
  88. string "Target Optimizations"
  89. default ""
  90. help
  91. Optimizations to use when building for the target host.
  92. NOTE: gcc optimization level is defined in build options.
  93. config BR2_TARGET_LDFLAGS
  94. string "Target linker options"
  95. help
  96. Extra options to pass to the linker when building for the target.
  97. Note that options with a '$' sign (eg. -Wl,-rpath='$ORIGIN/../lib')
  98. are not supported.
  99. config BR2_ECLIPSE_REGISTER
  100. bool "Register toolchain within Eclipse Buildroot plug-in"
  101. help
  102. This options tells Buildroot to generate the necessary
  103. configuration files to make your toolchain appear within
  104. Eclipse, through the Eclipse Buildroot plugin.
  105. # Options for packages to depend on, if they require at least a
  106. # specific version of the kernel headers.
  107. # Toolchains should choose the adequate option (ie. the highest
  108. # version, not all of them).
  109. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  110. bool
  111. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  112. bool
  113. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  114. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  115. bool
  116. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  117. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  118. bool
  119. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  120. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  121. bool
  122. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  123. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  124. bool
  125. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  126. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  127. bool
  128. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  129. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  130. bool
  131. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  132. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  133. bool
  134. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  135. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  136. bool
  137. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  138. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  139. bool
  140. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  141. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  142. bool
  143. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  144. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  145. bool
  146. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  147. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  148. bool
  149. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  150. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  151. bool
  152. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  153. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  154. bool
  155. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  156. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  157. bool
  158. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  159. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  160. bool
  161. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  162. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  163. bool
  164. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  165. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  166. bool
  167. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  168. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  169. bool
  170. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  171. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  172. bool
  173. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  174. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  175. bool
  176. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  177. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  178. bool
  179. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  180. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  181. bool
  182. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  183. # This order guarantees that the highest version is set, as kconfig
  184. # stops affecting a value on the first matching default.
  185. config BR2_TOOLCHAIN_HEADERS_AT_LEAST
  186. string
  187. default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  188. default "4.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  189. default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  190. default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  191. default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  192. default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  193. default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  194. default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  195. default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  196. default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  197. default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  198. default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  199. default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  200. default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  201. default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  202. default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  203. default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  204. default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  205. default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  206. default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  207. default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  208. default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  209. default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  210. default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  211. default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  212. default "2.6"
  213. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  214. bool
  215. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  216. bool
  217. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  218. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  219. bool
  220. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  221. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  222. bool
  223. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  224. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  225. bool
  226. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  227. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  228. bool
  229. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  230. config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  231. bool
  232. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  233. config BR2_TOOLCHAIN_GCC_AT_LEAST_5
  234. bool
  235. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  236. # This order guarantees that the highest version is set, as kconfig
  237. # stops affecting a value on the first matching default.
  238. config BR2_TOOLCHAIN_GCC_AT_LEAST
  239. string
  240. default "5" if BR2_TOOLCHAIN_GCC_AT_LEAST_5
  241. default "4.9" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  242. default "4.8" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  243. default "4.7" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  244. default "4.6" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  245. default "4.5" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  246. default "4.4" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  247. default "4.3" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3