From 96a4d6fb54001f2c4bc8afa3ead5e662918531fd Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Sun, 27 Jul 2014 14:52:00 +0000
Subject: [PATCH] octeon: select gcc 4.6 by default

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41843
---
 toolchain/gcc/Config.in      | 2 +-
 toolchain/gcc/Config.version | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 97c74dec4d..1ec6503097 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,7 +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 octeon
+	default GCC_USE_VERSION_4_6_LINARO if TARGET_octeon
 	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 3e5bf7847e..417fd4d9c3 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -3,11 +3,11 @@ config GCC_VERSION_4_4_7
 	bool
 
 config GCC_VERSION_4_6_LINARO
-	default y if (!TOOLCHAINOPTS && octeon)
+	default y if (!TOOLCHAINOPTS && TARGET_octeon)
 	bool
 
 config GCC_VERSION_4_8_LINARO
-	default y if (!TOOLCHAINOPTS && !avr32 && !octeon)
+	default y if (!TOOLCHAINOPTS && !avr32 && !TARGET_octeon)
 	bool
 
 config GCC_VERSION_4_8_0
-- 
GitLab