diff options
author | Eric Litak <elitak@gmail.com> | 2016-05-09 11:55:43 -0700 |
---|---|---|
committer | Eric Litak <elitak@gmail.com> | 2017-04-19 14:09:56 -0700 |
commit | c3eca1f8dc19b27a6c0b55f24f5ac9baab395221 (patch) | |
tree | 004de6086372328f153a862f7aae52bd87ce976d /pkgs/stdenv | |
parent | 3b7395683c6c2deeee58432c6a3a383f24b511eb (diff) | |
download | nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar.gz nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar.bz2 nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar.lz nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar.xz nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.tar.zst nixlib-c3eca1f8dc19b27a6c0b55f24f5ac9baab395221.zip |
platforms: add pogoplug4 (armv5tel softfloat)
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools-cross.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix index 3eb902c890db..1e488601276b 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix @@ -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"; } |