summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-03 20:10:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-03 20:10:28 +0000
commitbc4b165d4793f2aa55302c1ffbf1a0b8cef02c9c (patch)
tree3d971dd1bf6a8a40b123bca7f28ea62f6c851fc3 /extra/Configs
parent1e75cc4b9273371ff049a755768f8652c3cfa983 (diff)
list ABI first and tweak ISA defaults with suggestions from Jim Gifford
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.mips40
1 files changed, 21 insertions, 19 deletions
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 0794c5f45..24c0cf87b 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -19,8 +19,28 @@ config LIBGCC_CFLAGS
string
choice
+ prompt "Target ABI"
+ default CONFIG_MIPS_O32_ABI
+ help
+ This is the ABI you wish to build use. Choose either O32, N32
+ or N64.
+
+config CONFIG_MIPS_O32_ABI
+ bool "O32 ABI"
+
+config CONFIG_MIPS_N32_ABI
+ bool "N32 ABI"
+
+config CONFIG_MIPS_N64_ABI
+ bool "N64 ABI"
+
+endchoice
+
+choice
prompt "Target Processor Architecture"
- default CONFIG_MIPS_ISA_1
+ default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
+ default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI
+ default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N64_ABI
help
This selects the instruction set architecture of your MIPS CPU. This
information is used for optimizing purposes. To build a library that
@@ -54,21 +74,3 @@ config CONFIG_MIPS_ISA_MIPS64
bool "MIPS64"
endchoice
-
-choice
- prompt "Target ABI"
- default CONFIG_MIPS_O32_ABI
- help
- This is the ABI you wish to build use. Choose either O32, N32
- or N64.
-
-config CONFIG_MIPS_O32_ABI
- bool "O32 ABI"
-
-config CONFIG_MIPS_N64_ABI
- bool "N64 ABI"
-
-config CONFIG_MIPS_N32_ABI
- bool "N32 ABI"
-
-endchoice