Config.version 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_3
  12. bool
  13. default y if GCC_VERSION_4_3_3_CS
  14. default y if GCC_VERSION_4_3_5
  15. config GCC_VERSION_4_4
  16. bool
  17. default y if GCC_VERSION_4_4_1_CS
  18. default y if GCC_VERSION_4_4_5
  19. config GCC_VERSION_4_5
  20. bool
  21. default y if GCC_VERSION_4_5_2
  22. default y if GCC_VERSION_4_5_1_LINARO
  23. if !TOOLCHAINOPTS
  24. config GCC_VERSION_4_3_3_CS
  25. default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
  26. default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
  27. config GCC_VERSION_4_3_5
  28. default y if avr32
  29. default y if powerpc64
  30. default y if TARGET_etrax
  31. default y if TARGET_coldfire
  32. default y if TARGET_gemini
  33. default y if TARGET_cns21xx
  34. config GCC_VERSION_4_4_5
  35. default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
  36. default y if powerpc
  37. default y if ubicom32
  38. config GCC_VERSION_4_5_1_LINARO
  39. default y
  40. endif