summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gcc/Config.in
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-10 20:24:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-10 20:24:13 +0000
commit87ebaa9971f8001280ae800b531430aea0f6fc19 (patch)
tree6594ab9aac9abd0f73e0bb62b0814358c3455788 /misc/buildroot/toolchain/gcc/Config.in
parent3a799e882bbeaa2826e759e444d090ec7cef8618 (diff)
downloadnuttx-87ebaa9971f8001280ae800b531430aea0f6fc19.tar.gz
nuttx-87ebaa9971f8001280ae800b531430aea0f6fc19.tar.bz2
nuttx-87ebaa9971f8001280ae800b531430aea0f6fc19.zip
Add support for m9s12x
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3279 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc/Config.in')
-rw-r--r--misc/buildroot/toolchain/gcc/Config.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/misc/buildroot/toolchain/gcc/Config.in b/misc/buildroot/toolchain/gcc/Config.in
index dfc9b5648..36c47ea6d 100644
--- a/misc/buildroot/toolchain/gcc/Config.in
+++ b/misc/buildroot/toolchain/gcc/Config.in
@@ -11,23 +11,28 @@ config BR2_PACKAGE_GCC
choice
prompt "GCC compiler Version"
default BR2_GCC_VERSION_4_3_3 if BR2_cortex_m3
- default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_cortex_m3
- default BR2_GCC_VERSION_3_4_6 if BR2_avr32 && !BR2_cortex_m3
+ default BR2_GCC_VERSION_4_2_4 if !BR2_avr32 && !BR2_cortex_m3 && !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.
- config BR2_GCC_VERSION_3_4_6
- depends on !BR2_m32c && !BR2_cortex_m3
+ 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_m3 && !BR2_m9s12x
bool "gcc 3.4.6"
config BR2_GCC_VERSION_4_2_4
- depends on !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3
+ depends on !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_m9s12x
select BR2_GCC_SUPPORTS_SYSROOT
bool "gcc 4.2.4"
config BR2_GCC_VERSION_4_3_3
- depends on !BR2_avr32 && !BR2_nios2
+ depends on !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
select BR2_GCC_SUPPORTS_SYSROOT
bool "gcc 4.3.3"
@@ -39,6 +44,7 @@ config BR2_GCC_SUPPORTS_SYSROOT
config BR2_GCC_VERSION
string
+ default "3.3.6" if BR2_GCC_VERSION_3_3_6
default "3.4.6" if BR2_GCC_VERSION_3_4_6
default "4.2.4" if BR2_GCC_VERSION_4_2_4
default "4.3.3" if BR2_GCC_VERSION_4_3_3