summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/patches.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-09-17 15:56:42 +0000
committerLudovic Courtès <ludo@gnu.org>2010-09-17 15:56:42 +0000
commit078353fc1596e1d59be28f8be865e4835a43752b (patch)
tree1b845b8f82bc2ff7fd178c40473db6667e7eb8d7 /pkgs/os-specific/linux/kernel/patches.nix
parent2739c3aa1e175d6669e84b66808ae205756823c9 (diff)
downloadnixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar.gz
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar.bz2
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar.lz
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar.xz
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.tar.zst
nixpkgs-078353fc1596e1d59be28f8be865e4835a43752b.zip
Linux: Add GuruPlug-related patches.
svn path=/nixpkgs/trunk/; revision=23833
Diffstat (limited to 'pkgs/os-specific/linux/kernel/patches.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index 63581e6b4ca..694f6699b4f 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -197,5 +197,22 @@ in
     { name = "dell-rfkill";
       patch = ./dell-rfkill.patch;
     };
-  
+
+  guruplug_defconfig =
+    {
+      # Default configuration for the GuruPlug.  From
+      # <http://www.openplug.org/plugwiki/images/c/c6/Guruplug-patchset-2.6.33.2.tar.bz2>.
+      name = "guruplug-defconfig";
+      patch = ./guruplug-defconfig.patch;
+    };
+
+  guruplug_arch_number =
+    {
+      # Hack to match the `arch_number' of the U-Boot that ships with the
+      # GuruPlug.  This is only needed when using this specific U-Boot
+      # binary.  See
+      # <http://www.plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer>.
+      name = "guruplug-arch-number";
+      patch = ./guruplug-mach-type.patch;
+    };
 }