summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-05 21:13:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-05 21:27:04 +0200
commit0b6ee788a600073196cbfbd89c565fba849d696f (patch)
tree74e2f36f0051695612768921585f6c385df52f80 /toolchain
parent4a7a685e62e00b93c291af9c0e138baca57a4c0a (diff)
add different arm architectures for toolchain building
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 17b83f41f..10afc0422 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -114,6 +114,18 @@ GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU)
endif
endif
+ifeq ($(ADK_CPU_ARMV5TE),y)
+GCC_CONFOPTS+= --with-arch=armv5te
+endif
+
+ifeq ($(ADK_CPU_ARMV6),y)
+GCC_CONFOPTS+= --with-arch=armv6
+endif
+
+ifeq ($(ADK_CPU_ARMV7A),y)
+GCC_CONFOPTS+= --with-arch=armv7-a
+endif
+
ifeq ($(ADK_CPU_ARM926EJ_S),y)
GCC_CONFOPTS+= --with-arch=armv5te --with-tune=arm926ej-s
endif