diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2006-06-15 13:44:26 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-15 13:44:26 +0000 |
| commit | 44c42b85ac6e1380d1654c69c8781bfd20a1a35c (patch) | |
| tree | addd6b89fa91a0743fad83e13357a2ee65894fd5 /openwrt/toolchain | |
| parent | ffa7abcdd1ab66249393d73b86f59ae16c98d753 (diff) | |
| download | mtk-20170518-44c42b85ac6e1380d1654c69c8781bfd20a1a35c.zip mtk-20170518-44c42b85ac6e1380d1654c69c8781bfd20a1a35c.tar.gz mtk-20170518-44c42b85ac6e1380d1654c69c8781bfd20a1a35c.tar.bz2 | |
fix gcc version selection
SVN-Revision: 3947
Diffstat (limited to 'openwrt/toolchain')
| -rw-r--r-- | openwrt/toolchain/gcc/Config.in | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/openwrt/toolchain/gcc/Config.in b/openwrt/toolchain/gcc/Config.in index 681f139..4912907 100644 --- a/openwrt/toolchain/gcc/Config.in +++ b/openwrt/toolchain/gcc/Config.in @@ -1,5 +1,14 @@ # Choose gcc version. +if !TOOLCHAINOPTS + config GCC_VERSION_3_4_4 + default y if LINUX_2_4_BRCM + + config GCC_VERSION_4_0_3 + default y if LINUX_2_6_ARUBA + +endif + choice prompt "GCC compiler Version" if TOOLCHAINOPTS default GCC_VERSION_4_0_3 if LINUX_2_6_ARUBA @@ -35,11 +44,11 @@ endchoice config GCC_VERSION string prompt "GCC compiler Version" if (TOOLCHAINOPTS && NULL) - default "3.4.4" if GCC_VERSION_3_4_4 || LINUX_2_4_BRCM + default "3.4.4" if GCC_VERSION_3_4_4 default "3.4.5" if GCC_VERSION_3_4_5 default "3.4.6" if GCC_VERSION_3_4_6 default "4.0.2" if GCC_VERSION_4_0_2 - default "4.0.3" if GCC_VERSION_4_0_3 || LINUX_2_6_ARUBA + default "4.0.3" if GCC_VERSION_4_0_3 default "4.1.0" if GCC_VERSION_4_1_0 default "4.1.1" if GCC_VERSION_4_1_1 default "3.4.6" |
