release-cross: add raspberrypi

This commit is contained in:
Domen Kozar 2013-05-26 00:11:13 +02:00
parent b59d53cc2d
commit 9229f669fc

View File

@ -318,6 +318,46 @@ let
in {
nanonote = 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;
};
}) // (
/* 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;