toolchain-common.in 2.8 KB

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