summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.mips
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@imgtec.com>2015-01-28 14:56:07 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-12 22:54:59 +0100
commit673c426bfbe58ee626d346b13365b73712f961ba (patch)
tree9fb7d1a675f3d8262ae19da38c700a3f27134040 /extra/Configs/Config.mips
parent343f6b8f1f754e397632b0552e4afe586c8b392b (diff)
Update MIPS configuration rules.
Add a configuration choice for the NaN format on MIPS (either the standard (legacy) format or the newer IEEE 2008 format. Change how CPU_LDFLAGS are set for MIPS. Use the same value as CPU_CFLAGS since CC is used to do linking. This ensures consistency between compiles and links and adds support for N32 ABI to linking. Signed-off-by: Steve Ellcey <sellcey@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/Configs/Config.mips')
-rw-r--r--extra/Configs/Config.mips15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 4d30d31d2..76b10c662 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -33,6 +33,21 @@ config CONFIG_MIPS_N64_ABI
endchoice
choice
+ prompt "Target NAN Encoding"
+ default CONFIG_MIPS_NAN_LEGACY
+ help
+ This is the NAN Encoding you want to use. Chose either Legacy
+ or 2008.
+
+config CONFIG_MIPS_NAN_LEGACY
+ bool "LEGACY"
+
+config CONFIG_MIPS_NAN_2008
+ bool "2008"
+
+endchoice
+
+choice
prompt "Target Processor Architecture"
default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI