lib.systems.loongarch64-multiplatform: init

Changed files
+11
lib
systems
+11
lib/systems/platforms.nix
···
# https://github.com/llvm/llvm-project/pull/132173
cmodel = "medium";
};
+
linux-kernel = {
+
name = "loongarch-multiplatform";
+
target = "vmlinuz.efi";
+
autoModules = true;
+
preferBuiltin = true;
+
baseConfig = "defconfig";
+
DTB = true;
+
};
};
# This function takes a minimally-valid "platform" and returns an
···
else if platform.isAarch64 then
if platform.isDarwin then apple-m1 else aarch64-multiplatform
+
+
else if platform.isLoongArch64 then
+
loongarch64-multiplatform
else if platform.isRiscV then
riscv-multiplatform