diff options
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 |