Config.version 1.6 KB

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