From 9e0bad9cb4b31cfec419ddc2959544f09e3eb868 Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Tue, 19 Jan 2010 13:26:03 +0000
Subject: [PATCH] gcc: use coherent version selector between binutils & gcc

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

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index ccaccaf002..9562a02c99 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,7 +3,7 @@
 choice
 	prompt "GCC compiler Version" if TOOLCHAINOPTS
 	default GCC_VERSION_3_4_6 if LINUX_2_4
-	default GCC_VERSION_4_2_4 if TARGET_avr32
+	default GCC_VERSION_4_2_4 if avr32
 	default GCC_VERSION_4_2_4 if TARGET_ppc40x
 	default GCC_VERSION_4_2_4 if TARGET_ppc44x
 	default GCC_VERSION_4_3_3 if powerpc64
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index f4e7017846..660b10de0a 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -56,7 +56,7 @@ if !TOOLCHAINOPTS
 
 if !LINUX_2_4
 	config GCC_VERSION_4_2_4
-		default y if TARGET_avr32
+		default y if avr32
 		default y if TARGET_ppc40x
 		default y if TARGET_ppc44x
 
-- 
GitLab