Config.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. # Choose gcc version.
  2. comment "GCC Options"
  3. choice
  4. prompt "GCC compiler Version"
  5. default BR2_GCC_VERSION_4_3_X if !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  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. help
  9. Select the version of gcc you wish to use.
  10. config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  11. depends on BR2_avr32
  12. bool "gcc 4.2.2-avr32-2.1.5"
  13. config BR2_GCC_VERSION_4_2_4
  14. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  15. bool "gcc 4.2.4"
  16. config BR2_GCC_VERSION_4_3_X
  17. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  18. bool "gcc 4.3.x"
  19. config BR2_GCC_VERSION_4_4_X
  20. depends on !BR2_avr32
  21. bool "gcc 4.4.x"
  22. config BR2_GCC_VERSION_4_5_X
  23. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  24. bool "gcc 4.5.x"
  25. config BR2_GCC_VERSION_4_6_X
  26. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  27. bool "gcc 4.6.x"
  28. config BR2_GCC_VERSION_SNAP
  29. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  30. bool "gcc snapshot"
  31. endchoice
  32. config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
  33. bool
  34. default y if !BR2_GCC_VERSION_4_2_4 && !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  35. config BR2_GCC_SNAP_DATE
  36. string "GCC snapshot date"
  37. default "4.7-20110430"
  38. depends on BR2_GCC_VERSION_SNAP
  39. help
  40. Enter snapshot date to use for gcc.
  41. Format is: A.B-YYYYMMDD
  42. A is GCC major version, for example 4.
  43. B is GCC minor version, for example 7.
  44. YYYYMMDD is snapshot date, for example 20110430.
  45. This way we'd get version 4.7-20110430
  46. config BR2_GCC_VERSION
  47. string
  48. default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  49. default "4.2.4" if BR2_GCC_VERSION_4_2_4
  50. default "4.3.5" if BR2_GCC_VERSION_4_3_X
  51. default "4.4.6" if BR2_GCC_VERSION_4_4_X
  52. default "4.5.3" if BR2_GCC_VERSION_4_5_X
  53. default "4.6.0" if BR2_GCC_VERSION_4_6_X
  54. default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
  55. config BR2_EXTRA_GCC_CONFIG_OPTIONS
  56. string "Additional gcc options"
  57. default ""
  58. help
  59. Any additional gcc configure options you may want to include....
  60. config BR2_GCC_CROSS_JAVA
  61. bool
  62. config BR2_INSTALL_LIBGCJ
  63. bool "Build/install java compiler and libgcj?"
  64. depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
  65. select BR2_GCC_CROSS_JAVA
  66. select BR2_LARGEFILE
  67. depends on BROKEN
  68. help
  69. Build/install java compiler and libgcj?
  70. config BR2_INSTALL_OBJC
  71. bool "Build/install Objective-C compiler and runtime?"
  72. depends on !BR2_avr32
  73. help
  74. Build/install Objective-C compiler and runtime?
  75. config BR2_INSTALL_FORTRAN
  76. bool "Build/install Fortran compiler and runtime?"
  77. depends on !BR2_avr32
  78. select BR2_PACKAGE_LIBMPFR
  79. help
  80. Build/install Fortran compiler and runtime?
  81. Note that it is highly recommended NOT to use gfortran
  82. from gcc older than 4.2.0
  83. config BR2_GCC_SHARED_LIBGCC
  84. bool "Build/install a shared libgcc?"
  85. depends on !BR2_PREFER_STATIC_LIB
  86. default y
  87. depends on !BR2_sparc
  88. help
  89. Build/install a shared libgcc library
  90. config BR2_GCC_ENABLE_TLS
  91. bool "Enable compiler tls support"
  92. default y
  93. depends on BR2_PTHREADS_NATIVE
  94. help
  95. Enable the compiler to generate code for accessing
  96. thread local storage variables
  97. config BR2_GCC_ENABLE_OPENMP
  98. bool "Enable compiler OpenMP support"
  99. depends on !BR2_PTHREADS_NONE && !BR2_avr32
  100. help
  101. Enable OpenMP support for the compiler