2
1

toolchain-common.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. # glibc and eglibc directly include gettext, so a separatly compiled
  62. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  63. # packages always need gettext, other packages only need gettext when
  64. # locale support is enabled. See the documentation for how packages
  65. # should rely on the following two options.
  66. config BR2_NEEDS_GETTEXT
  67. bool
  68. default y if BR2_TOOLCHAIN_USES_UCLIBC
  69. config BR2_NEEDS_GETTEXT_IF_LOCALE
  70. bool
  71. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  72. config BR2_USE_MMU
  73. bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
  74. default y if !BR2_bfin
  75. help
  76. If your target has a MMU, you should say Y here. If you
  77. are unsure, just say Y.
  78. config BR2_TARGET_OPTIMIZATION
  79. string "Target Optimizations"
  80. default "-pipe"
  81. help
  82. Optimizations to use when building for the target host.
  83. NOTE: gcc optimization level is defined in build options.
  84. config BR2_TARGET_LDFLAGS
  85. string "Target linker options"
  86. help
  87. Extra options to pass to the linker when building for the target.
  88. config BR2_ECLIPSE_REGISTER
  89. bool "Register toolchain within Eclipse Buildroot plug-in"
  90. help
  91. This options tells Buildroot to generate the necessary
  92. configuration files to make your toolchain appear within
  93. Eclipse, through the Eclipse Buildroot plugin.
  94. # Options for packages to depend on, if they require at least a
  95. # specific version of the kernel headers.
  96. # Toolchains should choose the adequate option (ie. the highest
  97. # version, not all of them).
  98. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  99. bool
  100. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  101. bool
  102. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  103. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  104. bool
  105. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  106. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  107. bool
  108. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  109. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  110. bool
  111. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  112. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  113. bool
  114. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  115. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  116. bool
  117. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  118. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  119. bool
  120. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  121. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  122. bool
  123. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  124. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  125. bool
  126. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  127. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  128. bool
  129. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  130. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  131. bool
  132. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  133. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  134. bool
  135. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  136. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  137. bool
  138. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  139. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  140. bool
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  142. config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  143. bool
  144. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  145. # This order guarantees that the highest version is set, as kconfig
  146. # stops affecting a value on the first matching default.
  147. config BR2_TOOLCHAIN_HEADERS_AT_LEAST
  148. string
  149. default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  150. default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  151. default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  152. default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  153. default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  154. default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  155. default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  156. default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  157. default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  158. default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  159. default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  160. default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  161. default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  162. default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  163. default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  164. default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  165. default "2.6"