diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-23 02:25:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-23 02:25:53 +0000 |
commit | f6cc3cf96afa3b5fd0d633fe532f45316da4bdad (patch) | |
tree | 33c0ae7de055a4b4bc9762893a936798421900ca /misc/buildroot/toolchain/gcc/Makefile.in | |
parent | 8dc2d637b75a2edc0f53a1029a9a45fc2792bfb8 (diff) | |
download | nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.tar.gz nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.tar.bz2 nuttx-f6cc3cf96afa3b5fd0d633fe532f45316da4bdad.zip |
Buildroot now builds armv6-m toolchain; NuTiny configuration now uses buildroot toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5665 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc/Makefile.in')
-rw-r--r-- | misc/buildroot/toolchain/gcc/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gcc/Makefile.in b/misc/buildroot/toolchain/gcc/Makefile.in index aaec774dc..7ae07cfe8 100644 --- a/misc/buildroot/toolchain/gcc/Makefile.in +++ b/misc/buildroot/toolchain/gcc/Makefile.in @@ -57,6 +57,9 @@ ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),) # "))) GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI) endif +ifdef BR2_cortex_m0 +GCC_WITH_MODE:=--with-mode=thumb +endif ifdef BR2_cortex_m3 GCC_WITH_MODE:=--with-mode=thumb endif |