mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
lib.systems.examples: separate loongarch64 for desktop and embedded variants
This commit is contained in:
parent
ff97a3df3b
commit
54e53047bf
2 changed files with 24 additions and 1 deletions
|
@ -170,9 +170,17 @@ rec {
|
|||
libc = "newlib";
|
||||
};
|
||||
|
||||
loongarch64-linux = {
|
||||
# https://github.com/loongson/la-softdev-convention/blob/master/la-softdev-convention.adoc#10-operating-system-package-build-requirements
|
||||
loongarch64-linux = lib.recursiveUpdate platforms.loongarch64-multiplatform {
|
||||
config = "loongarch64-unknown-linux-gnu";
|
||||
};
|
||||
loongarch64-linux-embedded = lib.recursiveUpdate platforms.loongarch64-multiplatform {
|
||||
config = "loongarch64-unknown-linux-gnu";
|
||||
gcc = {
|
||||
arch = "loongarch64";
|
||||
strict-align = true;
|
||||
};
|
||||
};
|
||||
|
||||
mmix = {
|
||||
config = "mmix-unknown-mmixware";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue