about summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorRyan Burns <52847440+r-burns@users.noreply.github.com>2023-07-05 21:26:47 -0700
committerGitHub <noreply@github.com>2023-07-05 21:26:47 -0700
commit2964b720de2cf30acd40d5f4d6c1034613c358ed (patch)
treedfa145b549e5a3d6af43eef7fea15e4b43d0be2d /lib/systems
parentb310289e0d1ba48b8f2b6607f3d4da53667f784c (diff)
parentc8ae88d97b35ba575e27f8b72663783118bc329b (diff)
Merge pull request #240825 from r-burns/mips-embedded
lib.platforms.mips{,64}-embedded: init
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/doubles.nix2
-rw-r--r--lib/systems/examples.nix10
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix
index 66bf3d872bee9..13f029ee1f40b 100644
--- a/lib/systems/doubles.nix
+++ b/lib/systems/doubles.nix
@@ -41,7 +41,7 @@ let
 
     # none
     "aarch64_be-none" "aarch64-none" "arm-none" "armv6l-none" "avr-none" "i686-none"
-    "microblaze-none" "microblazeel-none" "msp430-none" "or1k-none" "m68k-none"
+    "microblaze-none" "microblazeel-none" "mips-none" "mips64-none" "msp430-none" "or1k-none" "m68k-none"
     "powerpc-none" "powerpcle-none" "riscv32-none" "riscv64-none" "rx-none"
     "s390-none" "s390x-none" "vc4-none" "x86_64-none"
 
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 45b95c150fce1..9ad7c3e422d8e 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -129,6 +129,16 @@ rec {
     libc = "newlib";
   };
 
+  mips64-embedded = {
+    config = "mips64-none-elf";
+    libc = "newlib";
+  };
+
+  mips-embedded = {
+    config = "mips-none-elf";
+    libc = "newlib";
+  };
+
   loongarch64-linux = {
     config = "loongarch64-unknown-linux-gnu";
   };