summaryrefslogtreecommitdiff
path: root/kconfig/gcc.kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-08-04 18:05:59 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-08-04 18:07:46 +0200
commit28ca7b9dfc4d060ffa0a711243b6db77ff045a7e (patch)
treed6cad0f370ee5c4b3eb49929b1cf7a43650d2930 /kconfig/gcc.kconfig
parentd933788dc28ca91de6b9a4cf8c04d37b344f19be (diff)
downloadembtoolkit-28ca7b9dfc4d060ffa0a711243b6db77ff045a7e.tar.gz
embtoolkit-28ca7b9dfc4d060ffa0a711243b6db77ff045a7e.tar.bz2
embtoolkit-28ca7b9dfc4d060ffa0a711243b6db77ff045a7e.tar.xz
Toolchain: gcc: add gcc-4.5.1 and rework the way that gcc versions are handled
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig/gcc.kconfig')
-rw-r--r--kconfig/gcc.kconfig92
1 files changed, 76 insertions, 16 deletions
diff --git a/kconfig/gcc.kconfig b/kconfig/gcc.kconfig
index 6b6a838..4ec0d52 100644
--- a/kconfig/gcc.kconfig
+++ b/kconfig/gcc.kconfig
@@ -1,34 +1,66 @@
################################################################################
-# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved.
#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License
-# (Version 2 or later) published by the Free Software Foundation.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
################################################################################
#
# \file gcc.kconfig
# \brief gcc.kconfig of Embtoolkit
-# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date May 2009
################################################################################
+
+choice
+ prompt "GCC series to use"
+ help
+ Here you can choose which GCC series you want to use.
+
+ config EMBTK_GCC_VERSION_4_5_X
+ bool "gcc-4.5.x"
+ config EMBTK_GCC_VERSION_4_4_X
+ bool "gcc-4.4.x"
+ config EMBTK_GCC_VERSION_4_3_X
+ bool "gcc-4.3.x"
+ config EMBTK_GCC_VERSION_4_2_X
+ bool "gcc-4.2.x"
+ config EMBTK_GCC_VERSION_4_1_X
+ bool "gcc-4.1.x"
+endchoice
+
+# GCC-4.5.x
choice
- prompt "Version of gcc you wish"
+ prompt "Version of gcc-4.5.x you wish"
+ depends on EMBTK_GCC_VERSION_4_5_X
help
- Here you can choose which version of gcc
- you want to use
+ Here you can choose which version of gcc-4.5.x you want to use
+ config EMBTK_GCC_VERSION_4_5_1
+ bool "gcc-4.5.1"
config EMBTK_GCC_VERSION_4_5_0
bool "gcc-4.5.0"
+ depends on EMBTK_OLDPACKAGES
+endchoice
+
+# GCC-4.4.x
+choice
+ prompt "Version of gcc-4.4.x you wish"
+ depends on EMBTK_GCC_VERSION_4_4_X
+ help
+ Here you can choose which version of gcc-4.4.x you want to use
+
config EMBTK_GCC_VERSION_4_4_4
bool "gcc-4.4.4"
config EMBTK_GCC_VERSION_4_4_3
@@ -43,6 +75,15 @@ choice
depends on EMBTK_OLDPACKAGES
bool "gcc-4.4.1"
select EMBTK_GCC_NEED_PATCH
+endchoice
+
+# GCC-4.3.x
+choice
+ prompt "Version of gcc-4.3.x you wish"
+ depends on EMBTK_GCC_VERSION_4_3_X
+ help
+ Here you can choose which version of gcc-4.3.x you want to use
+
config EMBTK_GCC_VERSION_4_3_5
bool "gcc-4.3.5"
config EMBTK_GCC_VERSION_4_3_4
@@ -57,8 +98,26 @@ choice
depends on EMBTK_OLDPACKAGES
bool "gcc-4.3.2"
select EMBTK_GCC_NEED_PATCH
+endchoice
+
+# GCC-4.2.x
+choice
+ prompt "Version of gcc-4.2.x you wish"
+ depends on EMBTK_GCC_VERSION_4_2_X
+ help
+ Here you can choose which version of gcc-4.2.x you want to use
+
config EMBTK_GCC_VERSION_4_2_4
bool "gcc-4.2.4"
+endchoice
+
+# GCC-4.1.x
+choice
+ prompt "Version of gcc-4.1.x you wish"
+ depends on EMBTK_GCC_VERSION_4_1_X
+ help
+ Here you can choose which version of gcc-4.1.x you want to use
+
config EMBTK_GCC_VERSION_4_1_2
bool "gcc-4.1.2"
select EMBTK_GCC_NEED_PATCH
@@ -130,6 +189,7 @@ config EMBTK_GCC_LANGUAGE_FORTRAN
config EMBTK_GCC_VERSION_STRING
string
+ default "4.5.1" if EMBTK_GCC_VERSION_4_5_1
default "4.5.0" if EMBTK_GCC_VERSION_4_5_0
default "4.4.4" if EMBTK_GCC_VERSION_4_4_4
default "4.4.3" if EMBTK_GCC_VERSION_4_4_3