summaryrefslogtreecommitdiffstats
path: root/lib/systems/platforms.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 17:31:07 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 18:02:00 -0400
commit1fe81a4bcd25dba9319bc1bb49b078872f28ffa6 (patch)
tree7b3e9f467f4f7912645760fcbc73efc5bed47409 /lib/systems/platforms.nix
parentc9f6a82b619675a4ee1eb4fe9eac57efb69232fe (diff)
lib: Clean up float/fpu options
ARM ABIs now have a float field. This is used as a fallback to lessen our use of `platform.gcc.float`. I didn't know what the MIPs convention is so I kept using `platform.gcc.float` in that case.
Diffstat (limited to 'lib/systems/platforms.nix')
-rw-r--r--lib/systems/platforms.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix
index f39e890fbf1c..d6587ac49a89 100644
--- a/lib/systems/platforms.nix
+++ b/lib/systems/platforms.nix
@@ -25,7 +25,6 @@ rec {
gcc = {
arch = "armv5te";
- float = "soft";
};
kernelMajor = "2.6";
@@ -158,7 +157,6 @@ rec {
kernelDTB = true; # Beyond 3.10
gcc = {
arch = "armv5te";
- float = "soft";
};
};
@@ -336,7 +334,6 @@ rec {
gcc = {
cpu = "cortex-a9";
fpu = "vfpv3";
- float = "hard";
};
};
@@ -363,7 +360,6 @@ rec {
gcc = {
cpu = "cortex-a9";
fpu = "neon";
- float = "hard";
};
};
@@ -449,6 +445,7 @@ rec {
kernelTarget = "vmlinux";
gcc = {
arch = "loongson2f";
+ float = "hard";
abi = "n32";
};
};
@@ -498,7 +495,6 @@ rec {
# and the above page suggests NEON is only an improvement with hand-written assembly.
arch = "armv7-a";
fpu = "vfpv3-d16";
- float = "hard";
# For Raspberry Pi the 2 the best would be:
# cpu = "cortex-a7";