summary refs log tree commit diff
path: root/pkgs/top-level/release-cross.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 15:48:25 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 15:48:25 +0000
commit1522caa55692809fd855a8fb9b39283df48d7e13 (patch)
tree48f62fd6b2fae711d02c56640372a393088fdbd9 /pkgs/top-level/release-cross.nix
parent67e7ad56d7c2239f204cf6df308cff13007c222c (diff)
downloadnixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar.gz
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar.bz2
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar.lz
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar.xz
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.tar.zst
nixpkgs-1522caa55692809fd855a8fb9b39283df48d7e13.zip
Enabling cross-builds with uclibc again (I had that too much abandoned).
Hydra now should even test it.


svn path=/nixpkgs/trunk/; revision=20500
Diffstat (limited to 'pkgs/top-level/release-cross.nix')
-rw-r--r--pkgs/top-level/release-cross.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix
index 52fa7b09fe6..fdac71e2da3 100644
--- a/pkgs/top-level/release-cross.nix
+++ b/pkgs/top-level/release-cross.nix
@@ -37,6 +37,7 @@ let
     float = "soft";
     withTLS = true;
     platform = pkgs.platforms.sheevaplug;
+    libc = "glibc";
     openssl.system = "linux-generic32";
   };
 
@@ -48,6 +49,27 @@ in {
     });
 }) // (
 
+/* Test some cross builds to the Sheevaplug - uclibc*/
+let
+  crossSystem = {
+    config = "armv5tel-unknown-linux-gnueabi";  
+    bigEndian = false;
+    arch = "arm";
+    float = "soft";
+    withTLS = true;
+    platform = pkgs.platforms.sheevaplug;
+    libc = "uclibc";
+    openssl.system = "linux-generic32";
+  };
+
+in {
+  crossSheevaplugLinuxUclibc = mapTestOnCross crossSystem (
+    basic //
+    {
+      ubootSheevaplug.hostDrv = nativePlatforms;
+    });
+}) // (
+
 /* Test some cross builds to the mipsel */
 let
   crossSystem = {
@@ -56,6 +78,7 @@ let
     arch = "mips";
     float = "soft";
     withTLS = true;
+    libc = "glibc";
     platform = {
       name = "malta";
       kernelBaseConfig = "malta_defconfig";
@@ -80,6 +103,7 @@ let
     float = "hard";
     withTLS = true;
     cpu = "ultrasparc";
+    libc = "glibc";
     platform = {
         name = "ultrasparc";
         kernelHeadersBaseConfig = "sparc64_defconfig";