platforms: add pogoplug4 (armv5tel softfloat)

This commit is contained in:
Eric Litak
2017-04-19 14:09:56 -07:00
parent 3b7395683c
commit c3eca1f8dc
2 changed files with 49 additions and 0 deletions
@@ -68,9 +68,24 @@ let
inherit (gcc) fpu;
};
pogoplug4-crossSystem.crossSystem = {
arch = "armv5tel";
config = "armv5tel-softfloat-linux-gnueabi";
float = "soft";
platform = pkgsNoParams.platforms.pogoplug4;
inherit (pkgsNoParams.platforms.pogoplug4) gcc;
libc = "glibc";
withTLS = true;
openssl.system = "linux-generic32";
};
selectedCrossSystem =
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
if toolsArch == "scaleway" then scaleway-c1-crossSystem else
if toolsArch == "pogoplug4" then pogoplug4-crossSystem else
if toolsArch == "armv6l" then raspberrypiCrossSystem else
if toolsArch == "armv7l" then armv7l-hf-multiplatform-crossSystem else
if toolsArch == "aarch64" then aarch64-multiplatform-crossSystem else null;
@@ -285,4 +300,5 @@ rec {
armv7l = buildFor "armv7l";
aarch64 = buildFor "aarch64";
scaleway = buildFor "scaleway";
pogoplug4 = buildFor "pogoplug4";
}