diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-03 23:53:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-03 23:53:26 +0000 |
commit | 19d576b8e0c622125b87dd8776c027486c6cef1b (patch) | |
tree | ee17c0fd05980e3fd9477a1f565c8f6cd2552aba /misc | |
parent | a27ca5617f144527b883cbf7e6f15d2dd7aafe2a (diff) | |
download | px4-nuttx-19d576b8e0c622125b87dd8776c027486c6cef1b.tar.gz px4-nuttx-19d576b8e0c622125b87dd8776c027486c6cef1b.tar.bz2 px4-nuttx-19d576b8e0c622125b87dd8776c027486c6cef1b.zip |
Add Blackfin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1676 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc')
-rw-r--r-- | misc/buildroot/ChangeLog | 2 | ||||
-rw-r--r-- | misc/buildroot/Config.in | 9 | ||||
-rw-r--r-- | misc/buildroot/configs/README.txt | 3 | ||||
-rw-r--r-- | misc/buildroot/configs/bfin-defconfig-4.2.4 | 87 | ||||
-rw-r--r-- | misc/buildroot/toolchain/Config.in | 2 |
5 files changed, 99 insertions, 4 deletions
diff --git a/misc/buildroot/ChangeLog b/misc/buildroot/ChangeLog index 6862a75fe..6fb4486cd 100644 --- a/misc/buildroot/ChangeLog +++ b/misc/buildroot/ChangeLog @@ -20,3 +20,5 @@ buildroot-0.1.3 2008-02-28 <spudmonkey@racsa.co.cr> buildroot-0.1.4 2008-xx-xx <spudmonkey@racsa.co.cr> + * Add support for a blackfin toolchain using GCC 4.2.4 and binutils 2.19 + diff --git a/misc/buildroot/Config.in b/misc/buildroot/Config.in index 2f7f55da3..f9cb2e6fe 100644 --- a/misc/buildroot/Config.in +++ b/misc/buildroot/Config.in @@ -20,6 +20,8 @@ config BR2_armeb bool "armeb" config BR2_avr32 bool "avr32" +config BR2_bfin + bool "blackfin" config BR2_cris bool "cris" config BR2_i386 @@ -181,6 +183,7 @@ config BR2_ARCH default "arm" if BR2_arm default "armeb" if BR2_armeb default "avr32" if BR2_avr32 + default "bfin" if BR2_bfin default "cris" if BR2_cris default "i386" if BR2_x86_i386 default "i486" if BR2_x86_i486 @@ -208,9 +211,9 @@ config BR2_ARCH config BR2_ENDIAN string - 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 "LITTLE" if BR2_arm || BR2_bfin || 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 || \ BR2_m68hc11 || BR2_m68hc12 || BR2_mips || \ BR2_powerpc || BR2_sh1 || BR2_sh2a_nofpueb || BR2_sh2eb || \ diff --git a/misc/buildroot/configs/README.txt b/misc/buildroot/configs/README.txt index 43ac6ce74..c46d47ede 100644 --- a/misc/buildroot/configs/README.txt +++ b/misc/buildroot/configs/README.txt @@ -10,6 +10,9 @@ arm-defconfig-4.2.4 programes (arm-elf-objcopy in particular) that cause Floating point exceptions when trying to build NuttX +bfin-defconfig-4.2.4 + Builds an Blackfin toolchain using gcc 4.2.4 + h8300_config Builds an H8/300 toolchain using gcc 3.4.5 diff --git a/misc/buildroot/configs/bfin-defconfig-4.2.4 b/misc/buildroot/configs/bfin-defconfig-4.2.4 new file mode 100644 index 000000000..79d32dfb2 --- /dev/null +++ b/misc/buildroot/configs/bfin-defconfig-4.2.4 @@ -0,0 +1,87 @@ +# +# 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_bfin=y +# BR2_cris is not set +# BR2_i386 is not set +# BR2_m32c is not set +# 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="bfin" +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="arm-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_SOFT_FLOAT=y +BR2_TARGET_OPTIMIZATION="-Os -pipe" diff --git a/misc/buildroot/toolchain/Config.in b/misc/buildroot/toolchain/Config.in index 1675c32d4..34e8e86e7 100644 --- a/misc/buildroot/toolchain/Config.in +++ b/misc/buildroot/toolchain/Config.in @@ -26,7 +26,7 @@ config BR2_LARGEFILE config BR2_SOFT_FLOAT bool "Use software floating point by default" default n - depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_powerpc + depends on BR2_arm || BR2_armeb || BR2_bfin || BR2_mips || BR2_mipsel || BR2_powerpc help If your target CPU does not have a Floating Point Unit (FPU) or a kernel FPU emulator, but you still wish to support floating point |