summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-18 10:07:53 +0000
committerJohn Crispin <john@openwrt.org>2014-06-18 10:07:53 +0000
commitc911cdcc04413c1123d47daf2caea32c5c277dde (patch)
tree12259464d931db64bac12ad5797921640abdc56c /toolchain/gcc
parent3deedba42e1cd3ae26725498732999d46a7baf36 (diff)
downloadmtk-20170518-c911cdcc04413c1123d47daf2caea32c5c277dde.zip
mtk-20170518-c911cdcc04413c1123d47daf2caea32c5c277dde.tar.gz
mtk-20170518-c911cdcc04413c1123d47daf2caea32c5c277dde.tar.bz2
toolchain: use different defaults for octeon
force eglibc and gcc4.6+linaro for octeon Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> SVN-Revision: 41251
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in1
-rw-r--r--toolchain/gcc/Config.version3
2 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index e279bf2..0c07796 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,6 +3,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_4_4_7 if avr32
+ default GCC_USE_VERSION_4_6_LINARO if mips64
default GCC_USE_VERSION_4_8_LINARO
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index e9aafcd..05b4f1a 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -3,10 +3,11 @@ config GCC_VERSION_4_4_7
bool
config GCC_VERSION_4_6_LINARO
+ default y if (!TOOLCHAINOPTS && mips64)
bool
config GCC_VERSION_4_8_LINARO
- default y if (!TOOLCHAINOPTS && !avr32)
+ default y if (!TOOLCHAINOPTS && !avr32 && !mips64)
bool
config GCC_VERSION_4_8_0