about summary refs log tree commit diff
path: root/pkgs/top-level/platforms.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2015-03-05 10:00:21 +0000
committerLluís Batlle i Rossell <viric@viric.name>2015-03-05 10:00:21 +0000
commit9d8c26efaef7900f2658ba5695cee15334f6f649 (patch)
tree22f3d2fa826fbe568bd7bf1fcafb9f8c4b53d5c3 /pkgs/top-level/platforms.nix
parentc1b803ba0ea9402ef8f4264896691d04c8167ec7 (diff)
downloadnixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar.gz
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar.bz2
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar.lz
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar.xz
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.tar.zst
nixlib-9d8c26efaef7900f2658ba5695cee15334f6f649.zip
Add comment explaining the rpi2 gcc flags.
Diffstat (limited to 'pkgs/top-level/platforms.nix')
-rw-r--r--pkgs/top-level/platforms.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/top-level/platforms.nix b/pkgs/top-level/platforms.nix
index ae9b702b442c..8bdc4f77302c 100644
--- a/pkgs/top-level/platforms.nix
+++ b/pkgs/top-level/platforms.nix
@@ -293,6 +293,11 @@ rec {
     kernelTarget = "zImage";
     uboot = null;
     gcc = {
+      # For gcc 4.8, the best for rpi2 would be:
+      #   cpu = "cortex-a7";
+      #   fpu = "neon-vfpv4";
+      # But we prefer compatibility with the beaglebone, so both
+      # can run the same built store paths.
       arch = "armv7-a";
       fpu = "vfpv3-d16";
       float = "hard";