summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-08 01:04:23 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-08 01:04:23 +0200
commite31fad60d72c35811a2a25fb0ade2cedf33309db (patch)
tree6f652f209c4ad3d95946d3de14b54c961b21f381 /toolchain
parent4769cd580a27fbdee884192d56e9c67d11accfc1 (diff)
add support for ARM thumb mode
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 91c32b509..3176831e9 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -111,8 +111,8 @@ ifneq ($(ADK_TARGET_FPU),)
GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU)
endif
-ifeq ($(ADK_TARGET_ARCH_ARM_WITH_THUMB),y)
-GCC_CONFOPTS+= --with-mode=thumb
+ifneq ($(ADK_TARGET_INSTRUCTION_SET),)
+GCC_CONFOPTS+= --with-mode=$(ADK_TARGET_INSTRUCTION_SET)
endif
ifeq ($(ADK_TARGET_ARCH_METAG),y)