summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
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