summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-20 09:56:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-20 09:56:39 +0100
commit7d3fa6ece82fd4f834a928fa764f8db5f8b34d7f (patch)
tree07f69997bdecf9dfb34ed4c6d83c8a47441bf266 /toolchain/gcc
parent63595c8c3f19a85d105a41da337aa2ca968f4098 (diff)
parent84af1b9633858c9ef5798c8c8793023044cd9fad (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 7566d3f20..32710c9bd 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -94,7 +94,11 @@ GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s --with-fpu=vf
endif
ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y)
-GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard
+ifeq ($(ADK_LINUX_ARM_WITH_THUMB),y)
+GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=thumb
+else
+GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=arm
+endif
endif
ifneq ($(ADK_TARGET_ABI),)