From ef9c21a0e27974aabf6bad1b04d53922a6566ff5 Mon Sep 17 00:00:00 2001 From: Ambroz Bizjak Date: Thu, 5 Feb 2015 21:37:29 +0100 Subject: Adding the sheevaplug to make-bootstrap-tools-cross --- pkgs/stdenv/linux/make-bootstrap-tools-crosspi.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pkgs/stdenv/linux') diff --git a/pkgs/stdenv/linux/make-bootstrap-tools-crosspi.nix b/pkgs/stdenv/linux/make-bootstrap-tools-crosspi.nix index dcb5cce57645..013aa12d9564 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools-crosspi.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools-crosspi.nix @@ -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"; } -- cgit 1.4.1