diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-25 04:21:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-25 04:21:06 +0000 |
commit | ea17377a47bbd20040418639cf6b938b8cfff80b (patch) | |
tree | 88a113c3a24a0e4fb4c5f604019dc31bd7a4debe /misc/buildroot | |
parent | 0d7bdef38e6e2b4e7d3dd29b67937b9c6932a0dc (diff) | |
download | nuttx-ea17377a47bbd20040418639cf6b938b8cfff80b.tar.gz nuttx-ea17377a47bbd20040418639cf6b938b8cfff80b.tar.bz2 nuttx-ea17377a47bbd20040418639cf6b938b8cfff80b.zip |
Cortex fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1733 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot')
-rw-r--r-- | misc/buildroot/Config.in | 2 | ||||
-rw-r--r-- | misc/buildroot/configs/cortexm3-defconfig-4.3.3 | 2 | ||||
-rw-r--r-- | misc/buildroot/toolchain/gcc/4.3.3/700-gcc-4.3.3-arm7arch.patch | 16 |
3 files changed, 18 insertions, 2 deletions
diff --git a/misc/buildroot/Config.in b/misc/buildroot/Config.in index dfad6bdbb..e575654d8 100644 --- a/misc/buildroot/Config.in +++ b/misc/buildroot/Config.in @@ -209,7 +209,7 @@ config BR2_GCC_TARGET_TUNE default arm922t if BR2_arm922t default arm9tdmi if BR2_arm926t default arm1136jf-s if BR2_arm1136jf_s - default cortex-M3 if BR2_cortex_m3 + default cortex-m3 if BR2_cortex_m3 default strongarm110 if BR2_sa110 default strongarm1100 if BR2_sa1100 default xscale if BR2_xscale diff --git a/misc/buildroot/configs/cortexm3-defconfig-4.3.3 b/misc/buildroot/configs/cortexm3-defconfig-4.3.3 index 67050c3ee..8fde5f936 100644 --- a/misc/buildroot/configs/cortexm3-defconfig-4.3.3 +++ b/misc/buildroot/configs/cortexm3-defconfig-4.3.3 @@ -39,7 +39,7 @@ BR2_cortex_m3=y BR2_ARM_OABI=y # BR2_ARM_EABI is not set BR2_ARCH="arm" -BR2_GCC_TARGET_TUNE="cortex-M3" +BR2_GCC_TARGET_TUNE="cortex-m3" BR2_GCC_TARGET_ARCH="armv7-m" BR2_GCC_TARGET_ABI="apcs-gnu" BR2_ENDIAN="LITTLE" diff --git a/misc/buildroot/toolchain/gcc/4.3.3/700-gcc-4.3.3-arm7arch.patch b/misc/buildroot/toolchain/gcc/4.3.3/700-gcc-4.3.3-arm7arch.patch new file mode 100644 index 000000000..ad16445a2 --- /dev/null +++ b/misc/buildroot/toolchain/gcc/4.3.3/700-gcc-4.3.3-arm7arch.patch @@ -0,0 +1,16 @@ +diff -u gcc-4.3.3/gcc/config.gcc.orig gcc-4.3.3/gcc/config.gcc +--- gcc-4.3.3/gcc/config.gcc.orig 2009-04-24 22:08:23.523688500 -0400 ++++ gcc-4.3.3/gcc/config.gcc 2009-04-24 22:13:43.869488700 -0400 +@@ -2880,9 +2880,9 @@ + + case "$with_arch" in + "" \ +- | armv[23456] | armv2a | armv3m | armv4t | armv5t \ +- | armv5te | armv6j |armv6k | armv6z | armv6zk \ +- | iwmmxt | ep9312) ++ | armv[234567] | armv2a | armv3m | armv4t | armv5t | armv5e \ ++ | armv5te | armv6j |armv6k | armv6z | armv6zk | armv6t2 \ ++ | armv7-a | armv7-r | armv7-m | ep9312 | iwmmxt) + # OK + ;; + *) |