toolchain-common.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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_TOOLCHAIN_HAS_SSP
  25. bool
  26. config BR2_ENABLE_LOCALE_PURGE
  27. bool "Purge unwanted locales"
  28. help
  29. Explicitly specify what locales to install on target. If N
  30. then all locales supported by packages are installed.
  31. config BR2_ENABLE_LOCALE_WHITELIST
  32. string "Locales to keep"
  33. default "C en_US de fr"
  34. depends on BR2_ENABLE_LOCALE_PURGE
  35. help
  36. Whitespace seperated list of locales to allow on target.
  37. Locales not listed here will be removed from the target.
  38. See 'locale -a' on your host for a list of locales available
  39. on your build host, or have a look in /usr/share/locale in
  40. the target file system for available locales.
  41. Notice that listing a locale here doesn't guarantee that it
  42. will be available on the target - That purely depends on the
  43. support for that locale in the selected packages.
  44. config BR2_GENERATE_LOCALE
  45. string "Generate locale data"
  46. default ""
  47. depends on \
  48. BR2_TOOLCHAIN_BUILDROOT || \
  49. BR2_TOOLCHAIN_USES_GLIBC
  50. help
  51. Generate support for a list of locales. Locales can be
  52. specified with or without encoding, when no encoding is
  53. specified, UTF-8 is assumed. Examples of locales: en_US,
  54. fr_FR.UTF-8.
  55. # glibc and eglibc directly include gettext, so a separatly compiled
  56. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  57. # packages always need gettext, other packages only need gettext when
  58. # locale support is enabled. See the documentation for how packages
  59. # should rely on the following two options.
  60. config BR2_NEEDS_GETTEXT
  61. bool
  62. default y if BR2_TOOLCHAIN_USES_UCLIBC
  63. config BR2_NEEDS_GETTEXT_IF_LOCALE
  64. bool
  65. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  66. config BR2_USE_MMU
  67. bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_sh || BR2_xtensa
  68. default y if !BR2_bfin
  69. help
  70. If your target has a MMU, you should say Y here. If you
  71. are unsure, just say Y.
  72. config BR2_TARGET_OPTIMIZATION
  73. string "Target Optimizations"
  74. default "-pipe"
  75. help
  76. Optimizations to use when building for the target host.
  77. NOTE: gcc optimization level is defined in build options.
  78. config BR2_TARGET_LDFLAGS
  79. string "Target linker options"
  80. help
  81. Extra options to pass to the linker when building for the target.
  82. config BR2_ECLIPSE_REGISTER
  83. bool "Register toolchain within Eclipse Buildroot plug-in"
  84. help
  85. This options tells Buildroot to generate the necessary
  86. configuration files to make your toolchain appear within
  87. Eclipse, through the Eclipse Buildroot plugin.