From 158c3917e93dd102ae8c496bd136f359b15dfdbc Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 27 Jan 2009 20:08:34 +0000
Subject: [PATCH] add gcc 4.3.3, clean up gcc version config symbols

SVN-Revision: 14226
---
 toolchain/gcc/Config.in      | 4 ++++
 toolchain/gcc/Config.version | 9 +++++----
 toolchain/gcc/Makefile       | 3 +++
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 8d91ba2c54..40042ee82b 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -30,6 +30,10 @@ choice
 		depends !LINUX_2_4
 		bool "gcc 4.3.2"
 
+	config GCC_VERSION_4_3_3
+		depends !LINUX_2_4
+		bool "gcc 4.3.3"
+
 endchoice
 
 config EABI_SUPPORT
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index e822445bd6..52feb5c0d4 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -5,6 +5,7 @@ config GCC_VERSION
 	default "4.2.4"     if GCC_VERSION_4_2_4
 	default "4.3.1"     if GCC_VERSION_4_3_1
 	default "4.3.2"     if GCC_VERSION_4_3_2
+	default "4.3.3"     if GCC_VERSION_4_3_3
 	default "4.1.2"
 
 config GCC_VERSION_3
@@ -17,10 +18,9 @@ config GCC_VERSION_3_4
 	
 config GCC_VERSION_4
 	bool
-	default y	if GCC_VERSION_4_1_2
-	default y	if GCC_VERSION_4_2_4
-	default y	if GCC_VERSION_4_3_1
-	default y	if GCC_VERSION_4_3_2
+	default y	if GCC_VERSION_4_1
+	default y	if GCC_VERSION_4_2
+	default y	if GCC_VERSION_4_3
 
 config GCC_VERSION_4_1
 	bool
@@ -34,6 +34,7 @@ config GCC_VERSION_4_3
 	bool
 	default y	if GCC_VERSION_4_3_1
 	default y	if GCC_VERSION_4_3_2
+	default y	if GCC_VERSION_4_3_3
 
 if !TOOLCHAINOPTS
 	config GCC_VERSION_3_4_6
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 9a364eb8e1..0198e43641 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -41,6 +41,9 @@ endif
 ifeq ($(PKG_VERSION),4.3.2)
   PKG_MD5SUM:=5dfac5da961ecd5f227c3175859a486d
 endif
+ifeq ($(PKG_VERSION),4.3.3)
+  PKG_MD5SUM:=cc3c5565fdb9ab87a05ddb106ba0bd1f
+endif
 
 PATCH_DIR=./patches/$(PKG_VERSION)
 
-- 
GitLab