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