summary refs log tree commit diff
path: root/pkgs/system/all-packages-generic.nix
diff options
context:
space:
mode:
authorArmijn Hemel <armijn@gpl-violations.org>2005-11-29 01:43:11 +0000
committerArmijn Hemel <armijn@gpl-violations.org>2005-11-29 01:43:11 +0000
commitb3d1a16db996646ff3e85f6a26588b2297ab724d (patch)
treef76df62f65536b4a03a4725e241fc72e02802466 /pkgs/system/all-packages-generic.nix
parent4130324eac2530cdb4de0e4d45e9eaa2fa884b94 (diff)
downloadnixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar.gz
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar.bz2
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar.lz
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar.xz
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.tar.zst
nixpkgs-b3d1a16db996646ff3e85f6a26588b2297ab724d.zip
add kernel headers for linux ARM, uclibc
svn path=/nixpkgs/trunk/; revision=4319
Diffstat (limited to 'pkgs/system/all-packages-generic.nix')
-rw-r--r--pkgs/system/all-packages-generic.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix
index f8f406a0482..62f63f23e5d 100644
--- a/pkgs/system/all-packages-generic.nix
+++ b/pkgs/system/all-packages-generic.nix
@@ -472,6 +472,18 @@ rec {
     inherit stdenv;
   };
 
+  gcc40arm = (import ../build-support/gcc-cross-wrapper) {
+    nativeTools = false;
+    nativeGlibc = false;
+    cross = "arm-linux";
+    gcc = (import ../development/compilers/gcc-4.0-arm) {
+      inherit fetchurl stdenv noSysDirs binutilsArm kernelHeadersArm;
+      langF77 = false;
+      langCC = false;
+    };
+    inherit (stdenv.gcc) binutils glibc;
+    inherit stdenv;
+  };
   gcc40 = (import ../build-support/gcc-wrapper) {
     nativeTools = false;
     nativeGlibc = false;
@@ -1342,6 +1354,10 @@ rec {
   
   ### OS-SPECIFIC
 
+  uclibc = (import ../development/uclibc) {
+    inherit fetchurl stdenv gcc40arm kernelHeadersArm binutilsArm;
+  };
+
   dietlibc = (import ../os-specific/linux/dietlibc) {
     inherit fetchurl stdenv;
   };
@@ -1363,6 +1379,10 @@ rec {
     inherit fetchurl stdenv;
   };
 
+  kernelHeadersArm = (import ../os-specific/linux/kernel-headers-arm) {
+    inherit fetchurl stdenv;
+  };
+
   kernel = (import ../os-specific/linux/kernel) {
     inherit fetchurl stdenv perl;
   };