summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-08-25 23:42:58 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-08-25 23:42:58 +0200
commit4d8d0c26f68d63b8c7584cfd1d468cd249390a59 (patch)
treed85e1ce105607767ba98ec06356f180a97151058 /kconfig
parent3b8f3b1c96b5640ffce4e7dd9810dc30580a266b (diff)
downloadembtoolkit-4d8d0c26f68d63b8c7584cfd1d468cd249390a59.tar.gz
embtoolkit-4d8d0c26f68d63b8c7584cfd1d468cd249390a59.tar.bz2
embtoolkit-4d8d0c26f68d63b8c7584cfd1d468cd249390a59.tar.xz
Toolchain: gcc: convert to use generic macros
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/gcc.kconfig57
1 files changed, 54 insertions, 3 deletions
diff --git a/kconfig/gcc.kconfig b/kconfig/gcc.kconfig
index db50716..8fd8acf 100644
--- a/kconfig/gcc.kconfig
+++ b/kconfig/gcc.kconfig
@@ -23,8 +23,14 @@
# \date May 2009
################################################################################
+config EMTK_HAVE_GCC
+ bool
+ select EMBTK_GCC_PKG_IS_TARBZ2
+ default y
+
choice
prompt "GCC series to use"
+ depends on EMTK_HAVE_GCC
help
Here you can choose which GCC series you want to use.
@@ -118,9 +124,6 @@ choice
select EMBTK_GCC_NEED_PATCH
endchoice
-config EMBTK_GCC_NEED_PATCH
- bool
-
config EMBTK_GCC_HAVE_MIRROR
bool "Use a gcc mirror"
help
@@ -199,3 +202,51 @@ config EMBTK_GCC_VERSION_STRING
default "4.3.4" if EMBTK_GCC_VERSION_4_3_4
default "4.3.3" if EMBTK_GCC_VERSION_4_3_3
default "4.3.2" if EMBTK_GCC_VERSION_4_3_2
+
+config EMBTK_GCC_NEED_PATCH
+ bool
+ select EMBTK_GCC1_NEED_PATCH
+ select EMBTK_GCC2_NEED_PATCH
+ select EMBTK_GCC3_NEED_PATCH
+config EMBTK_GCC_NEED_AUTORECONF
+ bool
+ select EMBTK_GCC1_NEED_AUTORECONF
+ select EMBTK_GCC2_NEED_AUTORECONF
+ select EMBTK_GCC3_NEED_AUTORECONF
+config EMBTK_GCC_PKG_IS_TARGZ
+ bool
+ select EMBTK_GCC1_PKG_IS_TARGZ
+ select EMBTK_GCC2_PKG_IS_TARGZ
+ select EMBTK_GCC3_PKG_IS_TARGZ
+config EMBTK_GCC_PKG_IS_TARBZ2
+ bool
+ select EMBTK_GCC1_PKG_IS_TARBZ2
+ select EMBTK_GCC2_PKG_IS_TARBZ2
+ select EMBTK_GCC3_PKG_IS_TARBZ2
+
+config EMBTK_GCC1_NEED_PATCH
+ bool
+config EMBTK_GCC1_NEED_AUTORECONF
+ bool
+config EMBTK_GCC1_PKG_IS_TARGZ
+ bool
+config EMBTK_GCC1_PKG_IS_TARBZ2
+ bool
+
+config EMBTK_GCC2_NEED_PATCH
+ bool
+config EMBTK_GCC2_NEED_AUTORECONF
+ bool
+config EMBTK_GCC2_PKG_IS_TARGZ
+ bool
+config EMBTK_GCC2_PKG_IS_TARBZ2
+ bool
+
+config EMBTK_GCC3_NEED_PATCH
+ bool
+config EMBTK_GCC3_NEED_AUTORECONF
+ bool
+config EMBTK_GCC3_PKG_IS_TARGZ
+ bool
+config EMBTK_GCC3_PKG_IS_TARBZ2
+ bool