diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-01-06 18:49:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-01-06 18:49:00 +0000 |
commit | 6a9503237f60c371bdbe5f9b670b3b6fe72b7c1f (patch) | |
tree | 29d59ed216581b065eea3bf200b7e7c16303cb50 /misc/buildroot | |
parent | 2e3d15b793bf9ff2e20fa99e13c2f142a15dca44 (diff) | |
download | nuttx-6a9503237f60c371bdbe5f9b670b3b6fe72b7c1f.tar.gz nuttx-6a9503237f60c371bdbe5f9b670b3b6fe72b7c1f.tar.bz2 nuttx-6a9503237f60c371bdbe5f9b670b3b6fe72b7c1f.zip |
Add support for R8C/M16C/M32C
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1468 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot')
-rw-r--r-- | misc/buildroot/ChangeLog | 4 | ||||
-rw-r--r-- | misc/buildroot/Config.in | 5 | ||||
-rw-r--r-- | misc/buildroot/configs/m32c-defconfig-4.2.4 | 85 | ||||
-rw-r--r-- | misc/buildroot/toolchain/binutils/Config.in | 136 | ||||
-rw-r--r-- | misc/buildroot/toolchain/gcc/Config.in | 121 |
5 files changed, 221 insertions, 130 deletions
diff --git a/misc/buildroot/ChangeLog b/misc/buildroot/ChangeLog index c0b987b26..48d2aeeaf 100644 --- a/misc/buildroot/ChangeLog +++ b/misc/buildroot/ChangeLog @@ -14,4 +14,6 @@ buildroot-0.1.3 2008-xx-xx <spudmonkey@racsa.co.cr> * Add support for H8/300 toolchain * Add support for GCC 4.2.4 and binutils 2.19 - * New ARM configuration using GCC 4.2.4 and binutils 2.19 + * Various fixes for newer Linux environments + * New ARM configuration using GCC 4.2.4 and binutils 2.19 + * Add Renesas R8C/M16C/M32C configuration using GCC 4.2.4 and binutils 2.19 diff --git a/misc/buildroot/Config.in b/misc/buildroot/Config.in index a3cb4b999..2f7f55da3 100644 --- a/misc/buildroot/Config.in +++ b/misc/buildroot/Config.in @@ -24,6 +24,8 @@ config BR2_cris bool "cris" config BR2_i386 bool "i386" +config BR2_m32c + bool "r8c/m16c/m32c/" config BR2_m68k bool "m68k" config BR2_m68hc11 @@ -184,6 +186,7 @@ config BR2_ARCH default "i486" if BR2_x86_i486 default "i586" if BR2_x86_i586 default "i686" if BR2_x86_i686 + default "m32c" if BR2_m32c default "m68k" if BR2_m68k default "m68hc11" if BR2_m68hc11 default "m68hc12" if BR2_m68hc12 @@ -205,7 +208,7 @@ config BR2_ARCH config BR2_ENDIAN string - default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \ + default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_m32c || BR2_mipsel || \ BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_nios2 || \ BR2_sh64 || BR2_h8300 default "BIG" if BR2_alpha || BR2_armeb || BR2_avr32 || BR2_m68k || \ diff --git a/misc/buildroot/configs/m32c-defconfig-4.2.4 b/misc/buildroot/configs/m32c-defconfig-4.2.4 new file mode 100644 index 000000000..cce8c61d3 --- /dev/null +++ b/misc/buildroot/configs/m32c-defconfig-4.2.4 @@ -0,0 +1,85 @@ +# +# Automatically generated make config: don't edit +# +BR2_HAVE_DOT_CONFIG=y +# BR2_alpha is not set +# BR2_arm is not set +# BR2_armeb is not set +# BR2_avr32 is not set +# BR2_cris is not set +# BR2_i386 is not set +BR2_m32c=y +# BR2_m68k is not set +# BR2_m68hc11 is not set +# BR2_m68hc12 is not set +# BR2_mips is not set +# BR2_mipsel is not set +# BR2_nios2 is not set +# BR2_powerpc is not set +# BR2_sh is not set +# BR2_sh64 is not set +# BR2_h8300 is not set +# BR2_sparc is not set +# BR2_x86_64 is not set +BR2_ARCH="m32c" +BR2_ENDIAN="LITTLE" + +# +# Build options +# +BR2_WGET="wget --passive-ftp" +BR2_SVN="svn co" +BR2_ZCAT="zcat" +BR2_BZCAT="bzcat" +BR2_TAR_OPTIONS="" +BR2_DL_DIR="$(BASE_DIR)/../archives" +BR2_SOURCEFORGE_MIRROR="easynews" +BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir" +BR2_NUTTX_DIR="$(TOPDIR)/../nuttx" +BR2_TOPDIR_PREFIX="" +BR2_TOPDIR_SUFFIX="" +BR2_GNU_BUILD_SUFFIX="m32c-elf" +BR2_GNU_TARGET_SUFFIX="elf" +# BR2_PREFER_IMA is not set +# BR2_DEPRECATED is not set + +# +# Toolchain Options +# + +# +# Binutils Options +# +# BR2_BINUTILS_VERSION_2_17 is not set +BR2_BINUTILS_VERSION_2_19=y +BR2_BINUTILS_VERSION="2.19" +BR2_EXTRA_BINUTILS_CONFIG_OPTIONS="" + +# +# GCC Options +# +# BR2_GCC_VERSION_3_4_6 is not set +BR2_GCC_VERSION_4_2_4=y +BR2_GCC_SUPPORTS_SYSROOT=y +BR2_GCC_VERSION="4.2.4" +# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set +BR2_EXTRA_GCC_CONFIG_OPTIONS="" +# BR2_INSTALL_LIBSTDCPP is not set +# BR2_INSTALL_OBJC is not set +# BR2_INSTALL_FORTRAN is not set + +# +# Gdb Options +# +# BR2_PACKAGE_GDB is not set +# BR2_PACKAGE_GDB_SERVER is not set +# BR2_PACKAGE_GDB_HOST is not set + +# +# Common Toolchain Options +# +# BR2_PACKAGE_SSTRIP_TARGET is not set +# BR2_PACKAGE_SSTRIP_HOST is not set +# BR2_ENABLE_MULTILIB is not set +BR2_LARGEFILE=y +BR2_TARGET_OPTIMIZATION="-Os -pipe" diff --git a/misc/buildroot/toolchain/binutils/Config.in b/misc/buildroot/toolchain/binutils/Config.in index 56571a3e6..795c74fb2 100644 --- a/misc/buildroot/toolchain/binutils/Config.in +++ b/misc/buildroot/toolchain/binutils/Config.in @@ -8,77 +8,77 @@ choice help Select the version of binutils you wish to use. - config BR2_BINUTILS_VERSION_2_14_90_0_8 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.14.90.0.8" +# config BR2_BINUTILS_VERSION_2_14_90_0_8 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.14.90.0.8" - config BR2_BINUTILS_VERSION_2_15 - depends BR2_DEPRECATED - bool "binutils 2.15" +# config BR2_BINUTILS_VERSION_2_15 +# depends BR2_DEPRECATED +# bool "binutils 2.15" - config BR2_BINUTILS_VERSION_2_15_94_0_2_2 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.15.94.0.2.2" +# config BR2_BINUTILS_VERSION_2_15_94_0_2_2 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.15.94.0.2.2" - config BR2_BINUTILS_VERSION_2_16_1 - depends !BR2_nios2 - bool "binutils 2.16.1" +# config BR2_BINUTILS_VERSION_2_16_1 +# depends !BR2_nios2 +# bool "binutils 2.16.1" - config BR2_BINUTILS_VERSION_2_16_90_0_3 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.16.90.0.3" +# config BR2_BINUTILS_VERSION_2_16_90_0_3 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.16.90.0.3" - config BR2_BINUTILS_VERSION_2_16_91_0_5 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.16.91.0.5" +# config BR2_BINUTILS_VERSION_2_16_91_0_5 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.16.91.0.5" - config BR2_BINUTILS_VERSION_2_16_91_0_6 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.16.91.0.6" +# config BR2_BINUTILS_VERSION_2_16_91_0_6 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.16.91.0.6" - config BR2_BINUTILS_VERSION_2_16_91_0_7 - depends !BR2_nios2 - bool "binutils 2.16.91.0.7" +# config BR2_BINUTILS_VERSION_2_16_91_0_7 +# depends !BR2_nios2 +# bool "binutils 2.16.91.0.7" config BR2_BINUTILS_VERSION_2_17 depends !BR2_nios2 bool "binutils 2.17" - config BR2_BINUTILS_VERSION_2_17_50_0_2 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.2" +# config BR2_BINUTILS_VERSION_2_17_50_0_2 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.2" - config BR2_BINUTILS_VERSION_2_17_50_0_3 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.3" +# config BR2_BINUTILS_VERSION_2_17_50_0_3 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.3" - config BR2_BINUTILS_VERSION_2_17_50_0_4 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.4" +# config BR2_BINUTILS_VERSION_2_17_50_0_4 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.4" - config BR2_BINUTILS_VERSION_2_17_50_0_5 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.5" +# config BR2_BINUTILS_VERSION_2_17_50_0_5 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.5" - config BR2_BINUTILS_VERSION_2_17_50_0_6 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.6" +# config BR2_BINUTILS_VERSION_2_17_50_0_6 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.6" - config BR2_BINUTILS_VERSION_2_17_50_0_7 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.7" +# config BR2_BINUTILS_VERSION_2_17_50_0_7 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.7" - config BR2_BINUTILS_VERSION_2_17_50_0_8 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.8" +# config BR2_BINUTILS_VERSION_2_17_50_0_8 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.8" - config BR2_BINUTILS_VERSION_2_17_50_0_9 - depends !BR2_nios2 && BR2_DEPRECATED - bool "binutils 2.17.50.0.9" +# config BR2_BINUTILS_VERSION_2_17_50_0_9 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "binutils 2.17.50.0.9" - config BR2_BINUTILS_VERSION_2_17_50_0_10 - depends !BR2_nios2 - bool "binutils 2.17.50.0.10" +# config BR2_BINUTILS_VERSION_2_17_50_0_10 +# depends !BR2_nios2 +# bool "binutils 2.17.50.0.10" config BR2_BINUTILS_VERSION_2_19 depends !BR2_avr32 && !BR2_nios2 @@ -88,24 +88,24 @@ endchoice config BR2_BINUTILS_VERSION string - default "2.14.90.0.8" if BR2_BINUTILS_VERSION_2_14_90_0_8 - default "2.15" if BR2_BINUTILS_VERSION_2_15 - default "2.15.94.0.2.2" if BR2_BINUTILS_VERSION_2_15_94_0_2_2 - default "2.16.1" if BR2_BINUTILS_VERSION_2_16_1 - default "2.16.90.0.3" if BR2_BINUTILS_VERSION_2_16_90_0_3 - default "2.16.91.0.5" if BR2_BINUTILS_VERSION_2_16_91_0_5 - default "2.16.91.0.6" if BR2_BINUTILS_VERSION_2_16_91_0_6 - default "2.16.91.0.7" if BR2_BINUTILS_VERSION_2_16_91_0_7 +# default "2.14.90.0.8" if BR2_BINUTILS_VERSION_2_14_90_0_8 +# default "2.15" if BR2_BINUTILS_VERSION_2_15 +# default "2.15.94.0.2.2" if BR2_BINUTILS_VERSION_2_15_94_0_2_2 +# default "2.16.1" if BR2_BINUTILS_VERSION_2_16_1 +# default "2.16.90.0.3" if BR2_BINUTILS_VERSION_2_16_90_0_3 +# default "2.16.91.0.5" if BR2_BINUTILS_VERSION_2_16_91_0_5 +# default "2.16.91.0.6" if BR2_BINUTILS_VERSION_2_16_91_0_6 +# default "2.16.91.0.7" if BR2_BINUTILS_VERSION_2_16_91_0_7 default "2.17" if BR2_BINUTILS_VERSION_2_17 - default "2.17.50.0.2" if BR2_BINUTILS_VERSION_2_17_50_0_2 - default "2.17.50.0.3" if BR2_BINUTILS_VERSION_2_17_50_0_3 - default "2.17.50.0.4" if BR2_BINUTILS_VERSION_2_17_50_0_4 - default "2.17.50.0.5" if BR2_BINUTILS_VERSION_2_17_50_0_5 - default "2.17.50.0.6" if BR2_BINUTILS_VERSION_2_17_50_0_6 - default "2.17.50.0.7" if BR2_BINUTILS_VERSION_2_17_50_0_7 - default "2.17.50.0.8" if BR2_BINUTILS_VERSION_2_17_50_0_8 - default "2.17.50.0.9" if BR2_BINUTILS_VERSION_2_17_50_0_9 - default "2.17.50.0.10" if BR2_BINUTILS_VERSION_2_17_50_0_10 +# default "2.17.50.0.2" if BR2_BINUTILS_VERSION_2_17_50_0_2 +# default "2.17.50.0.3" if BR2_BINUTILS_VERSION_2_17_50_0_3 +# default "2.17.50.0.4" if BR2_BINUTILS_VERSION_2_17_50_0_4 +# default "2.17.50.0.5" if BR2_BINUTILS_VERSION_2_17_50_0_5 +# default "2.17.50.0.6" if BR2_BINUTILS_VERSION_2_17_50_0_6 +# default "2.17.50.0.7" if BR2_BINUTILS_VERSION_2_17_50_0_7 +# default "2.17.50.0.8" if BR2_BINUTILS_VERSION_2_17_50_0_8 +# default "2.17.50.0.9" if BR2_BINUTILS_VERSION_2_17_50_0_9 +# default "2.17.50.0.10" if BR2_BINUTILS_VERSION_2_17_50_0_10 default "2.19" if BR2_BINUTILS_VERSION_2_19 config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS diff --git a/misc/buildroot/toolchain/gcc/Config.in b/misc/buildroot/toolchain/gcc/Config.in index f7b14178c..636994c2d 100644 --- a/misc/buildroot/toolchain/gcc/Config.in +++ b/misc/buildroot/toolchain/gcc/Config.in @@ -9,68 +9,69 @@ choice help Select the version of gcc you wish to use. - config BR2_GCC_VERSION_3_3_5 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 3.3.5" +# config BR2_GCC_VERSION_3_3_5 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 3.3.5" - config BR2_GCC_VERSION_3_3_6 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 3.3.6" +# config BR2_GCC_VERSION_3_3_6 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 3.3.6" - config BR2_GCC_VERSION_3_4_2 - depends BR2_DEPRECATED - bool "gcc 3.4.2" +# config BR2_GCC_VERSION_3_4_2 +# depends BR2_DEPRECATED +# bool "gcc 3.4.2" - config BR2_GCC_VERSION_3_4_3 - depends BR2_DEPRECATED - bool "gcc 3.4.3" +# config BR2_GCC_VERSION_3_4_3 +# depends BR2_DEPRECATED +# bool "gcc 3.4.3" - config BR2_GCC_VERSION_3_4_4 - depends BR2_DEPRECATED - bool "gcc 3.4.4" +# config BR2_GCC_VERSION_3_4_4 +# depends BR2_DEPRECATED +# bool "gcc 3.4.4" - config BR2_GCC_VERSION_3_4_5 - depends BR2_DEPRECATED - bool "gcc 3.4.5" +# config BR2_GCC_VERSION_3_4_5 +# depends BR2_DEPRECATED +# bool "gcc 3.4.5" config BR2_GCC_VERSION_3_4_6 + depends on !BR2_m32c bool "gcc 3.4.6" - config BR2_GCC_VERSION_4_0_0 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.0.0" +# config BR2_GCC_VERSION_4_0_0 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.0.0" - config BR2_GCC_VERSION_4_0_1 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.0.1" +# config BR2_GCC_VERSION_4_0_1 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.0.1" - config BR2_GCC_VERSION_4_0_2 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.0.2" +# config BR2_GCC_VERSION_4_0_2 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.0.2" - config BR2_GCC_VERSION_4_0_3 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.0.3" +# config BR2_GCC_VERSION_4_0_3 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.0.3" - config BR2_GCC_VERSION_4_0_4 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.0.4" +# config BR2_GCC_VERSION_4_0_4 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.0.4" - config BR2_GCC_VERSION_4_1_0 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.1.0" +# config BR2_GCC_VERSION_4_1_0 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.1.0" - config BR2_GCC_VERSION_4_1_1 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.1.1" +# config BR2_GCC_VERSION_4_1_1 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.1.1" - config BR2_GCC_VERSION_4_1_2 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.1.2" +# config BR2_GCC_VERSION_4_1_2 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.1.2" - config BR2_GCC_VERSION_4_2 - depends !BR2_nios2 && BR2_DEPRECATED - bool "gcc 4.2" +# config BR2_GCC_VERSION_4_2 +# depends !BR2_nios2 && BR2_DEPRECATED +# bool "gcc 4.2" config BR2_GCC_VERSION_4_2_4 depends on !BR2_avr32 && !BR2_nios2 @@ -85,22 +86,22 @@ config BR2_GCC_SUPPORTS_SYSROOT config BR2_GCC_VERSION string - default "3.3.5" if BR2_GCC_VERSION_3_3_5 - default "3.3.6" if BR2_GCC_VERSION_3_3_6 - default "3.4.2" if BR2_GCC_VERSION_3_4_2 - default "3.4.3" if BR2_GCC_VERSION_3_4_3 - default "3.4.4" if BR2_GCC_VERSION_3_4_4 - default "3.4.5" if BR2_GCC_VERSION_3_4_5 +# default "3.3.5" if BR2_GCC_VERSION_3_3_5 +# default "3.3.6" if BR2_GCC_VERSION_3_3_6 +# default "3.4.2" if BR2_GCC_VERSION_3_4_2 +# default "3.4.3" if BR2_GCC_VERSION_3_4_3 +# default "3.4.4" if BR2_GCC_VERSION_3_4_4 +# default "3.4.5" if BR2_GCC_VERSION_3_4_5 default "3.4.6" if BR2_GCC_VERSION_3_4_6 - default "4.0.0" if BR2_GCC_VERSION_4_0_0 - default "4.0.1" if BR2_GCC_VERSION_4_0_1 - default "4.0.2" if BR2_GCC_VERSION_4_0_2 - default "4.0.3" if BR2_GCC_VERSION_4_0_3 - default "4.0.4" if BR2_GCC_VERSION_4_0_4 - default "4.1.0" if BR2_GCC_VERSION_4_1_0 - default "4.1.1" if BR2_GCC_VERSION_4_1_1 - default "4.1.2" if BR2_GCC_VERSION_4_1_2 - default "4.2" if BR2_GCC_VERSION_4_2 +# default "4.0.0" if BR2_GCC_VERSION_4_0_0 +# default "4.0.1" if BR2_GCC_VERSION_4_0_1 +# default "4.0.2" if BR2_GCC_VERSION_4_0_2 +# default "4.0.3" if BR2_GCC_VERSION_4_0_3 +# default "4.0.4" if BR2_GCC_VERSION_4_0_4 +# default "4.1.0" if BR2_GCC_VERSION_4_1_0 +# default "4.1.1" if BR2_GCC_VERSION_4_1_1 +# default "4.1.2" if BR2_GCC_VERSION_4_1_2 +# default "4.2" if BR2_GCC_VERSION_4_2 default "4.2.4" if BR2_GCC_VERSION_4_2_4 #config BR2_TOOLCHAIN_SYSROOT |