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