summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gcc/Config.in
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-26 13:24:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-26 13:24:06 -0600
commit349f642f056d059b72dbfa3cba3763964b15d876 (patch)
treea3f309e659b0a3754499e71ff558aee3c2ecb10f /misc/buildroot/toolchain/gcc/Config.in
parent528a08e265854a95976a5d77e91bdb934482a278 (diff)
downloadnuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.gz
nuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.bz2
nuttx-349f642f056d059b72dbfa3cba3763964b15d876.zip
Add GCc 4.8.2 support for buildroot
Diffstat (limited to 'misc/buildroot/toolchain/gcc/Config.in')
-rw-r--r--misc/buildroot/toolchain/gcc/Config.in24
1 files changed, 15 insertions, 9 deletions
diff --git a/misc/buildroot/toolchain/gcc/Config.in b/misc/buildroot/toolchain/gcc/Config.in
index f7f9bfd28..3a8f61592 100644
--- a/misc/buildroot/toolchain/gcc/Config.in
+++ b/misc/buildroot/toolchain/gcc/Config.in
@@ -3,31 +3,31 @@
comment "GCC Options"
config BR2_PACKAGE_GCC
- bool "Build GCC cross-compiler"
- default n
- help
- Build the GCC cross-compiler for the target architecture.
+ bool "Build GCC cross-compiler"
+ default n
+ help
+ Build the GCC cross-compiler for the target architecture.
choice
prompt "GCC compiler Version"
- default BR2_GCC_VERSION_4_3_3 if BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_m3 || BR2_cortex_m0
- default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
+ default BR2_GCC_VERSION_4_3_3 if BR2_GCC_CORTEX
+ default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_GCC_CORTEX && !BR2_m9s12x
default BR2_GCC_VERSION_3_4_6 if BR2_avr32
default BR2_GCC_VERSION_3_3_6 if BR2_m9s12x
depends on BR2_PACKAGE_GCC
help
- Select the version of gcc you wish to use.
+ Select the version of gcc you wish to use.
config BR2_GCC_VERSION_3_3_6
depends on BR2_m9s12x
bool "gcc 3.3.6"
config BR2_GCC_VERSION_3_4_6
- depends on !BR2_m32c && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
+ depends on !BR2_m32c && !BR2_GCC_CORTEX
bool "gcc 3.4.6"
config BR2_GCC_VERSION_4_2_4
- depends on !BR2_avr32 && !BR2_nios2 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
+ depends on !BR2_avr32 && !BR2_nios2 && !BR2_GCC_CORTEX && !BR2_m9s12x
select BR2_GCC_SUPPORTS_SYSROOT
bool "gcc 4.2.4"
@@ -46,6 +46,11 @@ choice
select BR2_GCC_SUPPORTS_SYSROOT
bool "gcc 4.6.3"
+ config BR2_GCC_VERSION_4_8_2
+ depends on !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
+ select BR2_GCC_SUPPORTS_SYSROOT
+ bool "gcc 4.8.2"
+
endchoice
config BR2_GCC_SUPPORTS_SYSROOT
@@ -60,6 +65,7 @@ config BR2_GCC_VERSION
default "4.3.3" if BR2_GCC_VERSION_4_3_3
default "4.5.2" if BR2_GCC_VERSION_4_5_2
default "4.6.3" if BR2_GCC_VERSION_4_6_3
+ default "4.8.2" if BR2_GCC_VERSION_4_8_2
config BR2_GCC_USE_SJLJ_EXCEPTIONS
bool "Enable setjmp/longjmp exceptions?"