diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-20 15:02:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-20 15:02:29 +0100 |
commit | f319f27987a02309892fbf87649ef494e885d7c3 (patch) | |
tree | 2c9e8c299560b35e48085ecbd8e8178613e6f718 /toolchain/gcc/Makefile | |
parent | 079673bd4c63480523590cc2542dd0642f6e5acb (diff) | |
parent | 84af1b9633858c9ef5798c8c8793023044cd9fad (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 6 |
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),) |