summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-05-07 15:16:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-05-07 15:16:55 +0200
commitbec3b02778c62eafcf67ff0babb55c1c66cae511 (patch)
treede032a1b3dc438d34e8600538fdee67bbf37368f /toolchain
parentdc8ef82ff7b6bbb089a76402c89f74db203122f9 (diff)
--with-float only for mips
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 044a9a3a1..815b5f30d 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -67,11 +67,13 @@ else
GCC_CONFOPTS+= --enable-target-optspace
endif
+ifeq ($(ARCH),mips)
ifeq ($(ADK_TARGET_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
else
GCC_CONFOPTS+= --with-float=hard
endif
+endif
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
GCC_CONFOPTS+= --with-arch=armv6 --with-fpu=vfp