summaryrefslogtreecommitdiffstats
path: root/lib/systems/examples.nix
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2021-01-30 16:26:06 -0500
committerGitHub <noreply@github.com>2021-01-30 16:26:06 -0500
commit5fc5e83808c1f9ce5b414a1d596f6427b77ac180 (patch)
treec8a1f403c89f13ae51830d1706d3737ccef3c4e9 /lib/systems/examples.nix
parentfccda5aae6659e8abce91503194d618c2bfc6e59 (diff)
parent5530a3adbe9be842f22cd83b59b06cdd5a94308e (diff)
Merge pull request #111345 from r-burns/ppc64-big-endian
Enable PPC64 (big-endian)
Diffstat (limited to 'lib/systems/examples.nix')
-rw-r--r--lib/systems/examples.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index be87fb1d0694..8a43b86db701 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -21,6 +21,19 @@ rec {
config = "powerpc64le-unknown-linux-musl";
};
+ ppc64-elfv1 = {
+ config = "powerpc64-unknown-linux-elfv1";
+ };
+ ppc64-elfv2 = {
+ config = "powerpc64-unknown-linux-elfv2";
+ };
+ ppc64 = ppc64-elfv2; # default to modern elfv2
+
+ ppc64-musl = {
+ config = "powerpc64-unknown-linux-musl";
+ gcc = { abi = "elfv2"; }; # for gcc configuration
+ };
+
sheevaplug = {
config = "armv5tel-unknown-linux-gnueabi";
} // platforms.sheevaplug;