summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index eecf59968..d6f7abd62 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -143,6 +143,10 @@ ifeq ($(ADK_CPU_CORTEX_M3),y)
GCC_CONFOPTS+= --with-cpu=cortex-m3 --with-mode=thumb
endif
+ifeq ($(ADK_CPU_CORTEX_M4),y)
+GCC_CONFOPTS+= --with-cpu=cortex-m4 --with-mode=thumb
+endif
+
ifeq ($(ADK_CPU_CORTEX_A7),y)
GCC_CONFOPTS+= --with-cpu=cortex-a7
endif
@@ -151,6 +155,10 @@ ifeq ($(ADK_CPU_CORTEX_A9),y)
GCC_CONFOPTS+= --with-cpu=cortex-a9
endif
+ifeq ($(ADK_CPU_XSCALE),y)
+GCC_CONFOPTS+= --with-cpu=xscale
+endif
+
ifeq ($(ADK_CPU_SPARC_V8),y)
GCC_CONFOPTS+= --with-cpu=v8
endif