From f6cc3cf96afa3b5fd0d633fe532f45316da4bdad Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 23 Feb 2013 02:25:53 +0000 Subject: 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 --- misc/buildroot/toolchain/gcc/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc/buildroot/toolchain/gcc/Makefile.in') 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 -- cgit v1.2.3