提交 ad3c11c5 编写于 作者: A Ard Biesheuvel 提交者: Hongchen Zhang

loongarch: efi: enable generic EFI compressed boot

LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB

--------------------------------

Wire up the generic EFI zboot support for LoongArch64
Signed-off-by: NArd Biesheuvel <ardb@kernel.org>
Signed-off-by: NHuacai Chen <chenhuacai@loongson.cn>
上级 6f58674c
......@@ -94,7 +94,7 @@ vdso_install:
all: $(notdir $(KBUILD_IMAGE))
vmlinux.elf vmlinux.efi: vmlinux
vmlinux.elf vmlinux.efi vmlinuz.efi: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(bootvars-y) $(boot)/$@
install:
......
......@@ -18,3 +18,9 @@ $(obj)/vmlinux.elf: vmlinux FORCE
targets += vmlinux.efi
$(obj)/vmlinux.efi: vmlinux FORCE
$(call if_changed,objcopy)
EFI_ZBOOT_PAYLOAD := vmlinux.efi
EFI_ZBOOT_BFD_TARGET := elf64-loongarch
EFI_ZBOOT_MACH_TYPE := LOONGARCH64
include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册