toolchain-common.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_NATIVE_RPC
  11. bool
  12. config BR2_USE_WCHAR
  13. bool
  14. config BR2_ENABLE_LOCALE
  15. bool
  16. config BR2_INSTALL_LIBSTDCPP
  17. bool
  18. config BR2_TOOLCHAIN_HAS_THREADS
  19. bool
  20. config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  21. bool
  22. config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  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. # Pre-built uClibc external toolchains and uClibc toolchains
  46. # built by the Crosstool-NG backend cannot be supported,
  47. # because the list of locales to support must be defined at
  48. # build time.
  49. depends on \
  50. BR2_TOOLCHAIN_BUILDROOT || \
  51. BR2_TOOLCHAIN_USES_GLIBC
  52. help
  53. Generate support for a list of locales. Locales can be
  54. specified with or without encoding, when no encoding is
  55. specified, UTF-8 is assumed. Examples of locales: en_US,
  56. fr_FR.UTF-8.
  57. # glibc and eglibc directly include gettext, so a separatly compiled
  58. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  59. # packages always need gettext, other packages only need gettext when
  60. # locale support is enabled. See the documentation for how packages
  61. # should rely on the following two options.
  62. config BR2_NEEDS_GETTEXT
  63. bool
  64. default y if BR2_TOOLCHAIN_USES_UCLIBC
  65. config BR2_NEEDS_GETTEXT_IF_LOCALE
  66. bool
  67. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  68. config BR2_USE_MMU
  69. bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_sh || BR2_xtensa
  70. default y if !BR2_bfin
  71. help
  72. If your target has a MMU, you should say Y here. If you
  73. are unsure, just say Y.
  74. config BR2_TARGET_OPTIMIZATION
  75. string "Target Optimizations"
  76. default "-pipe"
  77. help
  78. Optimizations to use when building for the target host.
  79. NOTE: gcc optimization level is defined in build options.
  80. config BR2_TARGET_LDFLAGS
  81. string "Target linker options"
  82. help
  83. Extra options to pass to the linker when building for the target.
  84. config BR2_ECLIPSE_REGISTER
  85. bool "Register toolchain within Eclipse Buildroot plug-in"
  86. help
  87. This options tells Buildroot to generate the necessary
  88. configuration files to make your toolchain appear within
  89. Eclipse, through the Eclipse Buildroot plugin.