2006-06-15 19:40:06 +03:00
|
|
|
config GCC_VERSION
|
|
|
|
string
|
2009-10-20 12:03:44 +03:00
|
|
|
default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
|
2010-05-28 15:00:22 +03:00
|
|
|
default "4.3.5" if GCC_VERSION_4_3_5
|
2010-01-25 12:52:23 +02:00
|
|
|
default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
|
2010-10-04 15:21:58 +03:00
|
|
|
default "4.4.5" if GCC_VERSION_4_4_5
|
2010-12-21 16:54:34 +02:00
|
|
|
default "4.5.2" if GCC_VERSION_4_5_2
|
2011-02-13 13:27:58 +02:00
|
|
|
default "linaro" if GCC_VERSION_LINARO
|
2009-10-10 22:25:48 +03:00
|
|
|
default "llvm" if GCC_VERSION_LLVM
|
2011-02-13 13:27:58 +02:00
|
|
|
default "linaro"
|
2006-06-15 19:40:06 +03:00
|
|
|
|
2009-01-21 13:58:17 +02:00
|
|
|
config GCC_VERSION_4_3
|
|
|
|
bool
|
2009-10-19 05:09:52 +03:00
|
|
|
default y if GCC_VERSION_4_3_3_CS
|
2010-05-28 15:00:22 +03:00
|
|
|
default y if GCC_VERSION_4_3_5
|
2009-01-21 13:58:17 +02:00
|
|
|
|
2009-04-23 12:44:57 +03:00
|
|
|
config GCC_VERSION_4_4
|
|
|
|
bool
|
2010-01-25 12:52:23 +02:00
|
|
|
default y if GCC_VERSION_4_4_1_CS
|
2010-10-04 15:21:58 +03:00
|
|
|
default y if GCC_VERSION_4_4_5
|
2009-04-23 12:44:57 +03:00
|
|
|
|
2010-04-19 18:43:08 +03:00
|
|
|
config GCC_VERSION_4_5
|
|
|
|
bool
|
2010-12-21 16:54:34 +02:00
|
|
|
default y if GCC_VERSION_4_5_2
|
2011-02-13 13:27:58 +02:00
|
|
|
default y if GCC_VERSION_LINARO
|
2010-04-19 18:43:08 +03:00
|
|
|
|
2006-06-15 19:40:06 +03:00
|
|
|
if !TOOLCHAINOPTS
|
2009-04-30 12:36:19 +03:00
|
|
|
|
2009-10-20 12:03:44 +03:00
|
|
|
config GCC_VERSION_4_3_3_CS
|
2010-02-17 13:07:51 +02:00
|
|
|
default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
|
2010-12-30 19:19:16 +02:00
|
|
|
default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
|
2009-10-20 12:03:44 +03:00
|
|
|
|
2010-10-28 13:38:32 +03:00
|
|
|
config GCC_VERSION_4_3_5
|
2010-11-04 16:18:04 +02:00
|
|
|
default y if avr32
|
2010-10-28 13:38:32 +03:00
|
|
|
default y if powerpc64
|
|
|
|
default y if TARGET_etrax
|
|
|
|
default y if TARGET_coldfire
|
|
|
|
default y if TARGET_gemini
|
2010-12-30 19:19:16 +02:00
|
|
|
default y if TARGET_cns21xx
|
2010-07-31 14:52:48 +03:00
|
|
|
|
2010-10-28 13:38:32 +03:00
|
|
|
config GCC_VERSION_4_4_5
|
2010-06-21 14:59:59 +03:00
|
|
|
default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
|
2010-10-28 13:38:32 +03:00
|
|
|
default y if powerpc
|
|
|
|
default y if ubicom32
|
2010-02-16 23:29:07 +02:00
|
|
|
|
2006-06-15 19:40:06 +03:00
|
|
|
endif
|