Adding the sheevaplug to make-bootstrap-tools-cross
This commit is contained in:
parent
93e018cbe9
commit
ef9c21a0e2
|
@ -6,6 +6,19 @@ let
|
||||||
pkgsFun = import ../../top-level/all-packages.nix;
|
pkgsFun = import ../../top-level/all-packages.nix;
|
||||||
pkgsNoParams = pkgsFun {};
|
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 = {
|
raspberrypiCrossSystem = {
|
||||||
crossSystem = rec {
|
crossSystem = rec {
|
||||||
config = "armv6l-unknown-linux-gnueabi";
|
config = "armv6l-unknown-linux-gnueabi";
|
||||||
|
@ -37,6 +50,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
selectedCrossSystem =
|
selectedCrossSystem =
|
||||||
|
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
|
||||||
if toolsArch == "armv6l" then raspberrypiCrossSystem else
|
if toolsArch == "armv6l" then raspberrypiCrossSystem else
|
||||||
if toolsArch == "armv7l" then beagleboneCrossSystem else null;
|
if toolsArch == "armv7l" then beagleboneCrossSystem else null;
|
||||||
|
|
||||||
|
@ -235,6 +249,7 @@ rec {
|
||||||
}
|
}
|
||||||
|
|
||||||
); in {
|
); in {
|
||||||
|
armv5tel = buildFor "armv5tel";
|
||||||
armv6l = buildFor "armv6l";
|
armv6l = buildFor "armv6l";
|
||||||
armv7l = buildFor "armv7l";
|
armv7l = buildFor "armv7l";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue