summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-08 21:58:57 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-08 21:59:15 -0600
commit671042b2e0a3d8811f5f018d635cc5979486d35f (patch)
tree9540aa9080fb6986d525e6f1868dce435c08d36b /toolchain
parent06192043a983061e81b44536b00c89f377a1b129 (diff)
allow to select MIPSr2 ISA and Soft-Float for MIPS32
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 9881ff92e..3db03b107 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -119,6 +119,10 @@ GCC_CONFOPTS+= --with-float=soft
endif
endif
+ifeq ($(ADK_TARGET_ARCH_MIPS),y)
+GCC_CONFOPTS+= --with-float=$(ADK_TARGET_FLOAT)
+endif
+
ifeq ($(ADK_TARGET_ARCH_ARM),y)
GCC_CONFOPTS+= --with-float=$(ADK_TARGET_FLOAT)
ifneq ($(ADK_TARGET_FPU),)