summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-17 12:38:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-17 12:38:41 +0000
commit124b8a6dd668399bd3d636ed6c8888c2ff74b188 (patch)
tree0bbc25714100807aeead77d8f3ed396e6c1251a4 /toolchain/gcc
parent79452344feffbe2944c196b602790ed8451ea44c (diff)
downloadmtk-20170518-124b8a6dd668399bd3d636ed6c8888c2ff74b188.zip
mtk-20170518-124b8a6dd668399bd3d636ed6c8888c2ff74b188.tar.gz
mtk-20170518-124b8a6dd668399bd3d636ed6c8888c2ff74b188.tar.bz2
gcc: switch to 5.2.0 by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47492
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in3
-rw-r--r--toolchain/gcc/Config.version5
2 files changed, 3 insertions, 5 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 249a01b..a8c39d6 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -2,9 +2,8 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
- default GCC_USE_VERSION_5 if TARGET_octeon
default GCC_USE_VERSION_4_8_ARC if arc
- default GCC_USE_VERSION_4_8_LINARO
+ default GCC_USE_VERSION_5
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index a7354f8..efd8dc0 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -1,5 +1,4 @@
config GCC_VERSION_4_8_LINARO
- default y if (!TOOLCHAINOPTS && !(TARGET_octeon || arc))
bool
config GCC_VERSION_4_8_ARC
@@ -8,14 +7,14 @@ config GCC_VERSION_4_8_ARC
config GCC_VERSION
string
- default "5.2.0" if GCC_VERSION_5
default "4.8-linaro" if GCC_VERSION_4_8_LINARO
default "arc-2015.06" if GCC_VERSION_4_8_ARC
- default "4.8-linaro"
+ default "5.2.0"
config GCC_VERSION_4_8
bool
default y if (GCC_VERSION_4_8_LINARO || GCC_VERSION_4_8_ARC)
config GCC_VERSION_5
+ default y if (!TOOLCHAINOPTS && !arc)
bool