summaryrefslogtreecommitdiff
path: root/kconfig/gcc.kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-16 01:23:15 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-16 14:34:58 +0100
commit7545ee516023e6de4b7ba0fc540b23d44c2b416a (patch)
tree11d61acefa1d4c2671547a6e5825982e9a11a226 /kconfig/gcc.kconfig
parent399d8c625b399b5d4cd50c810ba07ec5351c6319 (diff)
downloadembtoolkit-7545ee516023e6de4b7ba0fc540b23d44c2b416a.tar.gz
embtoolkit-7545ee516023e6de4b7ba0fc540b23d44c2b416a.tar.bz2
embtoolkit-7545ee516023e6de4b7ba0fc540b23d44c2b416a.tar.xz
Toolchain: gcc: add gcc-4.7.2 and needed pacthes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig/gcc.kconfig')
-rw-r--r--kconfig/gcc.kconfig27
1 files changed, 21 insertions, 6 deletions
diff --git a/kconfig/gcc.kconfig b/kconfig/gcc.kconfig
index 88e3fb9..6cce3c2 100644
--- a/kconfig/gcc.kconfig
+++ b/kconfig/gcc.kconfig
@@ -31,8 +31,10 @@ choice
prompt "GCC series to use"
depends on EMTK_HAVE_GCC
help
- Here you can choose which GCC series you want to use.
+ Here you can choose which GCC series you want to use.
+ config EMBTK_GCC_VERSION_4_7_X
+ bool "gcc-4.7.x"
config EMBTK_GCC_VERSION_4_6_X
bool "gcc-4.6.x"
config EMBTK_GCC_VERSION_4_5_X
@@ -42,9 +44,21 @@ choice
config EMBTK_GCC_VERSION_GIT
bool "Use GCC git repository"
help
- Answer Y here if you want to build your toolchain based
- on GCC sources from its GIT repository.
- See http://gcc.gnu.org/git/?p=gcc.git
+ Answer Y here if you want to build your toolchain based on GCC
+ sources from its GIT repository.
+ See http://gcc.gnu.org/git/?p=gcc.git
+endchoice
+
+# GCC-4.7.x
+choice
+ prompt "Version of gcc-4.7.x you wish"
+ depends on EMBTK_GCC_VERSION_4_7_X
+ help
+ gcc-4.7.x version used.
+
+ config EMBTK_GCC_VERSION_4_7_2
+ bool "gcc-4.7.2"
+ select EMBTK_GCC_NEED_PATCH
endchoice
# GCC-4.6.x
@@ -89,13 +103,13 @@ config EMBTK_GCC_GIT_BRANCH
default "master"
depends on EMBTK_GCC_VERSION_GIT
help
- The branch of the git repository to use, the default is master.
+ The branch of the git repository to use, the default is master.
config EMBTK_GCC_GIT_REVISION
string "Checkout a specific revision instead of the latest"
depends on EMBTK_GCC_VERSION_GIT
help
- Chechout a specific revision instead of the latest.
+ Chechout a specific revision instead of the latest.
config EMBTK_GCC_REFSPEC
string
@@ -106,6 +120,7 @@ config EMBTK_GCC_REFSPEC
#
config EMBTK_GCC_VERSION_STRING
string
+ default "4.7.2" if EMBTK_GCC_VERSION_4_7_2
default "4.6.3" if EMBTK_GCC_VERSION_4_6_3
default "4.5.4" if EMBTK_GCC_VERSION_4_5_4
default "4.4.7" if EMBTK_GCC_VERSION_4_4_7