Adding the sheevaplug to make-bootstrap-tools-cross

This commit is contained in:
Ambroz Bizjak 2015-02-05 21:37:29 +01:00
parent 93e018cbe9
commit ef9c21a0e2

View File

@ -6,6 +6,19 @@ let
pkgsFun = import ../../top-level/all-packages.nix;
pkgsNoParams = pkgsFun {};
sheevaplugCrossSystem = {
crossSystem = rec {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
withTLS = true;
libc = "glibc";
platform = pkgsNoParams.platforms.sheevaplug;
openssl.system = "linux-generic32";
};
};
raspberrypiCrossSystem = {
crossSystem = rec {
config = "armv6l-unknown-linux-gnueabi";
@ -37,6 +50,7 @@ let
};
selectedCrossSystem =
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
if toolsArch == "armv6l" then raspberrypiCrossSystem else
if toolsArch == "armv7l" then beagleboneCrossSystem else null;
@ -235,6 +249,7 @@ rec {
}
); in {
armv5tel = buildFor "armv5tel";
armv6l = buildFor "armv6l";
armv7l = buildFor "armv7l";
}