toolchain-common.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 "toolchain/gdb/Config.in"
  6. config BR2_LARGEFILE
  7. bool
  8. config BR2_INET_IPV6
  9. bool
  10. config BR2_INET_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. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  22. bool
  23. config BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  24. default y if !BR2_TOOLCHAIN_HAS_THREADS
  25. bool
  26. config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  27. bool
  28. config BR2_ENABLE_LOCALE_PURGE
  29. bool "Purge unwanted locales"
  30. help
  31. Explicitly specify what locales to install on target. If N
  32. then all locales supported by packages are installed.
  33. config BR2_ENABLE_LOCALE_WHITELIST
  34. string "Locales to keep"
  35. default "C en_US de fr"
  36. depends on BR2_ENABLE_LOCALE_PURGE
  37. help
  38. Whitespace seperated list of locales to allow on target.
  39. Locales not listed here will be removed from the target.
  40. See 'locale -a' on your host for a list of locales available
  41. on your build host, or have a look in /usr/share/locale in
  42. the target file system for available locales.
  43. Notice that listing a locale here doesn't guarantee that it
  44. will be available on the target - That purely depends on the
  45. support for that locale in the selected packages.
  46. # glibc and eglibc directly include gettext, so a separatly compiled
  47. # gettext isn't needed and shouldn't be built to avoid conflicts. Some
  48. # packages always need gettext, other packages only need gettext when
  49. # locale support is enabled. See the documentation for how packages
  50. # should rely on the following two options.
  51. config BR2_NEEDS_GETTEXT
  52. bool
  53. default y if BR2_TOOLCHAIN_BUILDROOT
  54. default y if BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  55. default y if BR2_TOOLCHAIN_CTNG_uClibc
  56. config BR2_NEEDS_GETTEXT_IF_LOCALE
  57. bool
  58. default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
  59. config BR2_USE_MMU
  60. bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_sh || BR2_xtensa
  61. default y if !BR2_bfin
  62. help
  63. If your target has a MMU, you should say Y here. If you
  64. are unsure, just say Y.
  65. config BR2_PREFER_SOFT_FLOAT
  66. bool
  67. default y if BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel
  68. config BR2_SOFT_FLOAT
  69. bool "Use software floating point by default"
  70. depends on BR2_arm || BR2_armeb || BR2_avr32 || BR2_mips || BR2_mipsel || BR2_powerpc
  71. default $(BR2_PREFER_SOFT_FLOAT)
  72. help
  73. If your target CPU does not have a Floating Point Unit (FPU) or a
  74. kernel FPU emulator, but you still wish to support floating point
  75. functions, then everything will need to be compiled with soft
  76. floating point support (-msoft-float).
  77. config BR2_TARGET_OPTIMIZATION
  78. string "Target Optimizations"
  79. default "-pipe"
  80. help
  81. Optimizations to use when building for the target host.
  82. NOTE: gcc optimization level is defined in build options.
  83. config BR2_TARGET_LDFLAGS
  84. string "Target linker options"
  85. help
  86. Extra options to pass to the linker when building for the target.