linux: fix loongarch64-linux build (#509871)
This commit is contained in:
@@ -1231,7 +1231,7 @@ let
|
||||
EFI = lib.mkIf stdenv.hostPlatform.isEfi yes;
|
||||
EFI_STUB = yes; # EFI bootloader in the bzImage itself
|
||||
EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER = whenOlder "6.2" yes; # initrd kernel parameter for EFI
|
||||
EFI_VARS_PSTORE = yes;
|
||||
EFI_VARS_PSTORE = lib.mkIf (!stdenv.hostPlatform.isLoongArch64) yes;
|
||||
|
||||
# Generic compression support for EFI payloads
|
||||
# Add new platforms only after they have been verified to build and boot.
|
||||
|
||||
Reference in New Issue
Block a user