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