summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-06-02 17:29:59 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-06-02 17:29:59 +0200
commit2e8b1c664c621aa2c6e5ac82e3107cb7288977a0 (patch)
tree661e72a98e8861bc95811bb96aa0d33a55b7abaf
parent73c9ef742916d0101fc5810c1442eabe7cb2eca1 (diff)
downloadembtoolkit-2e8b1c664c621aa2c6e5ac82e3107cb7288977a0.tar.gz
embtoolkit-2e8b1c664c621aa2c6e5ac82e3107cb7288977a0.tar.bz2
embtoolkit-2e8b1c664c621aa2c6e5ac82e3107cb7288977a0.tar.xz
Toolchain: gcc: add gcc-4.8.1
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--kconfig/gcc.kconfig14
-rw-r--r--mk/gcc.mk5
2 files changed, 17 insertions, 2 deletions
diff --git a/kconfig/gcc.kconfig b/kconfig/gcc.kconfig
index 12ba3e5..cb26044 100644
--- a/kconfig/gcc.kconfig
+++ b/kconfig/gcc.kconfig
@@ -33,6 +33,8 @@ choice
help
Here you can choose which GCC series you want to use.
+ config EMBTK_GCC_VERSION_4_8_X
+ bool "gcc-4.8.x"
config EMBTK_GCC_VERSION_4_7_X
bool "gcc-4.7.x"
config EMBTK_GCC_VERSION_4_6_X
@@ -49,6 +51,17 @@ choice
See http://gcc.gnu.org/git/?p=gcc.git
endchoice
+# GCC-4.8.x
+choice
+ prompt "Version of gcc-4.8.x you wish"
+ depends on EMBTK_GCC_VERSION_4_8_X
+ help
+ gcc-4.8.x version used.
+
+ config EMBTK_GCC_VERSION_4_8_1
+ bool "gcc-4.8.1"
+endchoice
+
# GCC-4.7.x
choice
prompt "Version of gcc-4.7.x you wish"
@@ -119,6 +132,7 @@ config EMBTK_GCC_REFSPEC
#
config EMBTK_GCC_VERSION_STRING
string
+ default "4.8.1" if EMBTK_GCC_VERSION_4_8_1
default "4.7.3" if EMBTK_GCC_VERSION_4_7_3
default "4.6.4" if EMBTK_GCC_VERSION_4_6_4
default "4.5.4" if EMBTK_GCC_VERSION_4_5_4
diff --git a/mk/gcc.mk b/mk/gcc.mk
index 41c075f..9f653d8 100644
--- a/mk/gcc.mk
+++ b/mk/gcc.mk
@@ -116,7 +116,8 @@ GCC1_CONFIGURE_OPTS := --with-sysroot=$(embtk_sysroot) \
--with-pkgversion=embtoolkit-$(EMBTK_VERSION) \
--without-headers --with-newlib --disable-shared --disable-threads \
--disable-libssp --disable-libgomp --disable-libmudflap --disable-nls \
- --enable-languages=c --enable-target-optspace --disable-libquadmath
+ --enable-languages=c --enable-target-optspace --disable-libquadmath \
+ --disable-libatomic
CONFIG_EMBTK_GCC1_VERSION_GIT := $(CONFIG_EMBTK_GCC_VERSION_GIT)
CONFIG_EMBTK_GCC1_REFSPEC := $(CONFIG_EMBTK_GCC_REFSPEC)
@@ -145,7 +146,7 @@ GCC2_CONFIGURE_OPTS := --with-sysroot=$(embtk_sysroot) \
--disable-libquadmath \
--disable-libssp --disable-libgomp --disable-libmudflap --disable-nls \
--enable-languages=c --enable-target-optspace --enable-threads \
- $(GCC_CXA_ATEXIT-y)
+ --disable-libatomic $(GCC_CXA_ATEXIT-y)
CONFIG_EMBTK_GCC2_VERSION_GIT := $(CONFIG_EMBTK_GCC_VERSION_GIT)
CONFIG_EMBTK_GCC2_REFSPEC := $(CONFIG_EMBTK_GCC_REFSPEC)