1.1 --- a/config/cc/gcc.in Thu Oct 11 15:55:15 2012 +0200
1.2 +++ b/config/cc/gcc.in Thu Oct 11 14:39:41 2012 +1000
1.3 @@ -239,6 +239,12 @@
1.4 prompt "3.4.6 (OBSOLETE)"
1.5 depends on OBSOLETE
1.6
1.7 +config CC_CUSTOM
1.8 + bool
1.9 + prompt "Custom gcc"
1.10 + depends on EXPERIMENTAL
1.11 + select CC_GCC_latest
1.12 +
1.13 endchoice
1.14
1.15 if CC_V_SVN
1.16 @@ -297,6 +303,18 @@
1.17
1.18 endif
1.19
1.20 +if CC_CUSTOM
1.21 +
1.22 +config CC_CUSTOM_LOCATION
1.23 + string
1.24 + prompt "Full path to custom gcc source"
1.25 + default ""
1.26 + help
1.27 + Enter the path to the directory (or tarball) of your source for gcc,
1.28 + or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gcc
1.29 +
1.30 +endif #CC_CUSTOM
1.31 +
1.32 config CC_GCC_4_2
1.33 bool
1.34 select CC_GCC_4_2_or_later
1.35 @@ -484,6 +502,7 @@
1.36 default "4.1.2" if CC_V_4_1_2
1.37 default "4.0.4" if CC_V_4_0_4
1.38 default "3.4.6" if CC_V_3_4_6
1.39 + default "custom" if CC_CUSTOM
1.40
1.41 config CC_LANG_JAVA_USE_ECJ
1.42 bool