diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-12 12:53:54 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 12:53:54 -0600 |
commit | d97e0ba8fe96e619657cc4410ee0e6d9f95cf0dc (patch) | |
tree | f902b36f92b5576d20f5154f99670a02ec1c4747 /lib | |
parent | 968b20e2c7405f27830b6f10a8cac975e965dc94 (diff) | |
parent | e7d2ea13e1b0497fd0da87c2e8d34730a022024a (diff) |
Merge pull request #49588 from vincrusher/master
lib/system: More Types of CPUs Added
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/examples.nix | 15 | ||||
-rw-r--r-- | lib/systems/parse.nix | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index a40c38924245..acd673df666f 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -112,11 +112,26 @@ rec { config = "aarch64-none-elf"; libc = "newlib"; }; + + aarch64be-embedded = { + config = "aarch64_be-none-elf"; + libc = "newlib"; + }; ppc-embedded = { config = "powerpc-none-eabi"; libc = "newlib"; }; + + ppcle-embedded = { + config = "powerpcle-none-eabi"; + libc = "newlib"; + }; + + alpha-embedded = { + config = "alpha-elf"; + libc = "newlib"; + }; i686-embedded = { config = "i686-elf"; diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index db97a5c4b33b..be73a6d252f0 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -80,6 +80,7 @@ rec { armv8r = { bits = 32; significantByte = littleEndian; family = "arm"; version = "8"; }; armv8m = { bits = 32; significantByte = littleEndian; family = "arm"; version = "8"; }; aarch64 = { bits = 64; significantByte = littleEndian; family = "arm"; version = "8"; }; + aarch64_be = { bits = 64; significantByte = bigEndian; family = "arm"; version = "8"; }; i686 = { bits = 32; significantByte = littleEndian; family = "x86"; }; x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; }; @@ -92,6 +93,7 @@ rec { powerpc = { bits = 32; significantByte = bigEndian; family = "power"; }; powerpc64 = { bits = 64; significantByte = bigEndian; family = "power"; }; powerpc64le = { bits = 64; significantByte = littleEndian; family = "power"; }; + powerpcle = { bits = 32; significantByte = littleEndian; family = "power"; }; riscv32 = { bits = 32; significantByte = littleEndian; family = "riscv"; }; riscv64 = { bits = 64; significantByte = littleEndian; family = "riscv"; }; @@ -101,6 +103,8 @@ rec { wasm32 = { bits = 32; significantByte = littleEndian; family = "wasm"; }; wasm64 = { bits = 64; significantByte = littleEndian; family = "wasm"; }; + + alpha = { bits = 64; significantByte = littleEndian; family = "alpha"; }; avr = { bits = 8; family = "avr"; }; }; |