summaryrefslogtreecommitdiff
path: root/target/config/Config.in.mips.choice
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 /target/config/Config.in.mips.choice
parent06192043a983061e81b44536b00c89f377a1b129 (diff)
allow to select MIPSr2 ISA and Soft-Float for MIPS32
Diffstat (limited to 'target/config/Config.in.mips.choice')
-rw-r--r--target/config/Config.in.mips.choice30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/config/Config.in.mips.choice b/target/config/Config.in.mips.choice
new file mode 100644
index 000000000..0e1c80475
--- /dev/null
+++ b/target/config/Config.in.mips.choice
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+choice ADK_TARGET_MIPS_CPU_ARCH
+prompt "MIPS ISA"
+depends on ADK_TARGET_ARCH_MIPS
+
+config ADK_CPU_MIPS_MIPS32
+ bool "MIPS32"
+ select ADK_CPU_MIPS32
+
+config ADK_CPU_MIPS_MIPS32R2
+ bool "MIPS32r2"
+ select ADK_CPU_MIPS32R2
+
+endchoice
+
+choice ADK_TARGET_MIPS_FLOAT
+prompt "Float configuration"
+depends on ADK_TARGET_ARCH_MIPS
+
+config ADK_TARGET_MIPS_HARD_FLOAT
+ bool "hard-float"
+ select ADK_hard_float
+
+config ADK_TARGET_MIPS_SOFT_FLOAT
+ bool "soft-float"
+ select ADK_soft_float
+
+endchoice