lib.systems.loongarch64-multiplatform: init (#402689)

This commit is contained in:
Philip Taron 2025-05-27 08:48:18 -07:00 committed by GitHub
commit 9b3545da9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -583,6 +583,14 @@ rec {
# 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
@ -611,6 +619,9 @@ rec {
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