summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-05-06 13:50:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-05-06 13:50:56 +0200
commitae8b926761631638afe379ac6f083fd259ceff0d (patch)
treedc96e6cdce31577366f7cdf891d0051b9de8dbff /toolchain/gcc/Makefile
parent9f116a7e41e437095f9e689ddc0a67f9428ef311 (diff)
add toolchain support for raspberry pi
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 54169b8b9..044a9a3a1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -69,6 +69,12 @@ endif
ifeq ($(ADK_TARGET_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
+else
+GCC_CONFOPTS+= --with-float=hard
+endif
+
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
+GCC_CONFOPTS+= --with-arch=armv6 --with-fpu=vfp
endif
ifneq ($(ADK_TARGET_ABI),)