summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-22 02:39:38 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-22 02:39:38 -0600
commit476a87c63fe284faf4ea0a76f7b540845c5f6a52 (patch)
tree729a9ca60bb305018305e5ddffe407277264680e /toolchain
parent64fe21734343ee2395ddb6586195d3db374f91ea (diff)
rework FPU/FLOAT support
NEON is only an extension not the FPU hardware. So handle this in a better way. Remove the lower case symbols.
Diffstat (limited to 'toolchain')
-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