diff options
author | Domen Kozar <domen@dev.si> | 2013-05-26 00:11:13 +0200 |
---|---|---|
committer | Domen Kozar <domen@dev.si> | 2013-05-26 00:11:38 +0200 |
commit | 9229f669fcf8918fc227139b936bc1522f133dcd (patch) | |
tree | 750a625bcbd904912d831b010136bc7c6e2f499c /pkgs/top-level | |
parent | b59d53cc2de17bd6185773d2eaeb4e176699c32a (diff) |
release-cross: add raspberrypi
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/release-cross.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index 2c688ea71bdc1..1cb3f58449552 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -334,4 +334,44 @@ in { mpg123.crossDrv = nativePlatforms; yacas.crossDrv = nativePlatforms; }; +}) // ( + + +/* Linux on Raspberrypi */ +let + crossSystem = { + config = "armv6l-unknown-linux-gnueabi"; + bigEndian = false; + arch = "arm"; + float = "hard"; + fpu = "vfp"; + withTLS = true; + libc = "glibc"; + platform = pkgs.platforms.raspberrypi; + openssl.system = "linux-generic32"; + gcc = { + arch = "armv6"; + fpu = "vfp"; + float = "softfp"; + abi = "aapcs-linux"; + }; + }; +in { + rpi = mapTestOnCross crossSystem { + coreutils.crossDrv = nativePlatforms; + ed.crossDrv = nativePlatforms; + inetutils.crossDrv = nativePlatforms; + nixUnstable.crossDrv = nativePlatforms; + patch.crossDrv = nativePlatforms; + zile.crossDrv = nativePlatforms; + prboom.crossDrv = nativePlatforms; + vim.crossDrv = nativePlatforms; + lynx.crossDrv = nativePlatforms; + patchelf.crossDrv = nativePlatforms; + nix.crossDrv = nativePlatforms; + fossil.crossDrv = nativePlatforms; + binutils.crossDrv = nativePlatforms; + mpg123.crossDrv = nativePlatforms; + yacas.crossDrv = nativePlatforms; + }; }) |