diff options
-rw-r--r-- | kconfig/gcc.kconfig | 14 | ||||
-rw-r--r-- | mk/gcc.mk | 5 |
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 @@ -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) |