Config.version 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. config GCC_VERSION
  2. string
  3. default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
  4. default "4.3.5" if GCC_VERSION_4_3_5
  5. default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
  6. default "4.4.5" if GCC_VERSION_4_4_5
  7. default "4.5.2" if GCC_VERSION_4_5_2
  8. default "4.5.1+l" if GCC_VERSION_4_5_1_LINARO
  9. default "llvm" if GCC_VERSION_LLVM
  10. default "4.5.1+l"
  11. config GCC_VERSION_4
  12. bool
  13. default y if GCC_VERSION_4_2
  14. default y if GCC_VERSION_4_3
  15. default y if GCC_VERSION_4_4
  16. default y if GCC_VERSION_4_5
  17. config GCC_VERSION_4_2
  18. bool
  19. default y if GCC_VERSION_LLVM
  20. config GCC_VERSION_4_3
  21. bool
  22. default y if GCC_VERSION_4_3_3_CS
  23. default y if GCC_VERSION_4_3_5
  24. config GCC_VERSION_4_4
  25. bool
  26. default y if GCC_VERSION_4_4_1_CS
  27. default y if GCC_VERSION_4_4_5
  28. config GCC_VERSION_4_5
  29. bool
  30. default y if GCC_VERSION_4_5_2
  31. default y if GCC_VERSION_4_5_1_LINARO
  32. if !TOOLCHAINOPTS
  33. config GCC_VERSION_4_3_3_CS
  34. default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
  35. default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
  36. config GCC_VERSION_4_3_5
  37. default y if avr32
  38. default y if powerpc64
  39. default y if TARGET_etrax
  40. default y if TARGET_coldfire
  41. default y if TARGET_gemini
  42. default y if TARGET_cns21xx
  43. config GCC_VERSION_4_4_5
  44. default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
  45. default y if powerpc
  46. default y if ubicom32
  47. config GCC_VERSION_4_5_1_LINARO
  48. default y if sparc
  49. endif