Config.in.host 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. comment "GCC Options"
  2. config BR2_GCC_NEEDS_MPC
  3. bool
  4. choice
  5. prompt "GCC compiler Version"
  6. default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8
  7. default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
  8. default BR2_GCC_VERSION_4_8_ARC if BR2_arc
  9. default BR2_GCC_VERSION_4_9_MICROBLAZE if BR2_microblaze
  10. default BR2_GCC_VERSION_4_5_X if BR2_bfin
  11. default BR2_GCC_VERSION_4_7_X
  12. help
  13. Select the version of gcc you wish to use.
  14. config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  15. depends on BR2_avr32
  16. bool "gcc 4.2.2-avr32-2.1.5"
  17. config BR2_GCC_VERSION_4_3_X
  18. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a12 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_x86_jaguar && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
  19. depends on !BR2_ARM_EABIHF
  20. bool "gcc 4.3.x"
  21. config BR2_GCC_VERSION_4_4_X
  22. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a7 && !BR2_cortex_a12 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_x86_jaguar && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
  23. bool "gcc 4.4.x"
  24. # ARM EABIhf support appeared in gcc 4.6
  25. depends on !BR2_ARM_EABIHF
  26. # VFPv4 support appeared in gcc 4.5
  27. depends on !BR2_ARM_FPU_VFPV4 && !BR2_ARM_FPU_VFPV4D16
  28. config BR2_GCC_VERSION_4_5_X
  29. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_cortex_a7 && !BR2_cortex_a12 && !BR2_cortex_a15 && !BR2_x86_jaguar && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
  30. select BR2_GCC_NEEDS_MPC
  31. # ARM EABIhf support appeared in gcc 4.6
  32. depends on !BR2_ARM_EABIHF
  33. bool "gcc 4.5.x"
  34. config BR2_GCC_VERSION_4_6_X
  35. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a7 && !BR2_cortex_a12 && !BR2_x86_jaguar && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
  36. select BR2_GCC_NEEDS_MPC
  37. bool "gcc 4.6.x"
  38. config BR2_GCC_VERSION_4_7_X
  39. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a12 && !BR2_x86_jaguar && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
  40. select BR2_GCC_NEEDS_MPC
  41. bool "gcc 4.7.x"
  42. config BR2_GCC_VERSION_4_8_X
  43. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_cortex_a12 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  44. select BR2_GCC_NEEDS_MPC
  45. bool "gcc 4.8.x"
  46. config BR2_GCC_VERSION_4_8_ARC
  47. depends on BR2_arc
  48. select BR2_GCC_NEEDS_MPC
  49. bool "gcc 4.8-arc"
  50. config BR2_GCC_VERSION_4_9_X
  51. depends on !BR2_arc && !BR2_avr32 && !BR2_bfin && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  52. select BR2_GCC_NEEDS_MPC
  53. bool "gcc 4.9.x"
  54. config BR2_GCC_VERSION_4_9_MICROBLAZE
  55. depends on BR2_microblaze
  56. select BR2_GCC_NEEDS_MPC
  57. bool "gcc 4.9-microblaze"
  58. config BR2_GCC_VERSION_SNAP
  59. depends on !BR2_microblaze && !BR2_arc && !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  60. select BR2_GCC_NEEDS_MPC
  61. bool "gcc snapshot"
  62. endchoice
  63. config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
  64. bool
  65. default y if !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  66. config BR2_GCC_SNAP_DATE
  67. string "GCC snapshot date"
  68. default "4.8-20120429"
  69. depends on BR2_GCC_VERSION_SNAP
  70. help
  71. Enter snapshot date to use for gcc.
  72. Format is: A.B-YYYYMMDD
  73. A is GCC major version, for example 4.
  74. B is GCC minor version, for example 7.
  75. YYYYMMDD is snapshot date, for example 20110430.
  76. This way we'd get version 4.7-20110430
  77. config BR2_GCC_VERSION
  78. string
  79. default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  80. default "4.3.6" if BR2_GCC_VERSION_4_3_X
  81. default "4.4.7" if BR2_GCC_VERSION_4_4_X
  82. default "4.5.4" if BR2_GCC_VERSION_4_5_X
  83. default "4.6.4" if BR2_GCC_VERSION_4_6_X
  84. default "4.7.3" if BR2_GCC_VERSION_4_7_X
  85. default "4.8.2" if BR2_GCC_VERSION_4_8_X
  86. default "4.9.0" if BR2_GCC_VERSION_4_9_X
  87. default "c6227bc154124e270f15793deddfa3fe18f7db54" if BR2_GCC_VERSION_4_8_ARC
  88. default "b93bb009e021aba64dd4b8cdb0bbc5a176c55543" if BR2_GCC_VERSION_4_9_MICROBLAZE
  89. default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
  90. config BR2_EXTRA_GCC_CONFIG_OPTIONS
  91. string "Additional gcc options"
  92. default ""
  93. help
  94. Any additional gcc configure options you may want to
  95. include. Those options are applied for all of the gcc
  96. initial, gcc intermediate and gcc final passes.
  97. config BR2_TOOLCHAIN_BUILDROOT_CXX
  98. bool "Enable C++ support"
  99. select BR2_INSTALL_LIBSTDCPP
  100. depends on !(BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && \
  101. BR2_TOOLCHAIN_BUILDROOT_LOCALE)
  102. help
  103. Enable this option if you want your toolchain to support the
  104. C++ language and you want C++ libraries to be installed on
  105. your target system.
  106. comment "C++ support broken in uClibc with locale enabled with gcc 4.2"
  107. depends on BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && BR2_TOOLCHAIN_BUILDROOT_LOCALE
  108. config BR2_INSTALL_OBJC
  109. bool "Enable Objective-C support"
  110. depends on !BR2_avr32
  111. depends on BR2_DEPRECATED_SINCE_2013_11
  112. help
  113. Enable the support for the Objective-C language in the
  114. cross-compiler, and install the Objective-C runtime to the
  115. target.
  116. config BR2_INSTALL_FORTRAN
  117. bool "Enable Fortran support"
  118. depends on !BR2_avr32
  119. depends on BR2_DEPRECATED_SINCE_2013_11
  120. select BR2_PACKAGE_LIBMPFR
  121. help
  122. Enable the support for the Fortran language in the
  123. cross-compiler, and install the Fortran runtime to the
  124. target.
  125. config BR2_GCC_ENABLE_TLS
  126. bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
  127. default y
  128. depends on BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC
  129. help
  130. Enable the compiler to generate code for accessing
  131. thread local storage variables
  132. config BR2_GCC_ENABLE_OPENMP
  133. bool "Enable compiler OpenMP support"
  134. depends on !BR2_PTHREADS_NONE && !BR2_avr32 && !BR2_arc && !BR2_microblaze
  135. help
  136. Enable OpenMP support for the compiler
  137. config BR2_GCC_ENABLE_LIBMUDFLAP
  138. bool "Enable libmudflap support"
  139. # There are architectures, or specific configurations for
  140. # which mudflap is not supported.
  141. depends on !BR2_avr32 && !BR2_bfin && !BR2_ARM_INSTRUCTIONS_THUMB && !BR2_powerpc_SPE
  142. depends on !BR2_GCC_VERSION_4_9_X
  143. help
  144. libmudflap is a gcc library used for the mudflap pointer
  145. debugging functionality. It is only needed if you intend to
  146. use the -fmudflap gcc flag.
  147. See http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging and
  148. the help of the gcc -fmudflap option for more details.
  149. If you're unsure, leave this option disabled.