Config.in 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. # Choose gcc version.
  2. comment "GCC Options"
  3. choice
  4. prompt "GCC compiler Version"
  5. default BR2_GCC_VERSION_4_6_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_3_X
  14. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc
  15. bool "gcc 4.3.x"
  16. config BR2_GCC_VERSION_4_4_X
  17. depends on !BR2_avr32 && !BR2_x86_atom
  18. bool "gcc 4.4.x"
  19. config BR2_GCC_VERSION_4_5_X
  20. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  21. bool "gcc 4.5.x"
  22. config BR2_GCC_VERSION_4_6_X
  23. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  24. bool "gcc 4.6.x"
  25. config BR2_GCC_VERSION_4_7_X
  26. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  27. bool "gcc 4.7.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_2_AVR32_2_1_5
  35. config BR2_GCC_SNAP_DATE
  36. string "GCC snapshot date"
  37. default "4.8-20120429"
  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.3.6" if BR2_GCC_VERSION_4_3_X
  50. default "4.4.7" if BR2_GCC_VERSION_4_4_X
  51. default "4.5.4" if BR2_GCC_VERSION_4_5_X
  52. default "4.6.3" if BR2_GCC_VERSION_4_6_X
  53. default "4.7.2" if BR2_GCC_VERSION_4_7_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_INSTALL_OBJC
  61. bool "Build/install Objective-C compiler and runtime?"
  62. depends on !BR2_avr32
  63. help
  64. Build/install Objective-C compiler and runtime?
  65. config BR2_INSTALL_FORTRAN
  66. bool "Build/install Fortran compiler and runtime?"
  67. depends on !BR2_avr32
  68. select BR2_PACKAGE_LIBMPFR
  69. help
  70. Build/install Fortran compiler and runtime?
  71. Note that it is highly recommended NOT to use gfortran
  72. from gcc older than 4.2.0
  73. config BR2_GCC_SHARED_LIBGCC
  74. bool "Build/install a shared libgcc?"
  75. depends on !BR2_PREFER_STATIC_LIB
  76. default y
  77. depends on !BR2_sparc
  78. help
  79. Build/install a shared libgcc library
  80. config BR2_GCC_ENABLE_TLS
  81. bool "Enable compiler tls support"
  82. default y
  83. depends on BR2_PTHREADS_NATIVE
  84. help
  85. Enable the compiler to generate code for accessing
  86. thread local storage variables
  87. config BR2_GCC_ENABLE_OPENMP
  88. bool "Enable compiler OpenMP support"
  89. depends on !BR2_PTHREADS_NONE && !BR2_avr32
  90. help
  91. Enable OpenMP support for the compiler