mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
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;
|
||||
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user