[PATCH v4 9/9] loongarch: efi: enable generic EFI compressed boot

Xi Ruoyao xry111 at xry111.site
Sun Aug 28 03:57:01 PDT 2022


On Sun, 2022-08-28 at 17:52 +0800, Xi Ruoyao wrote:
> Hi Ard,
> 
> Should we also add
> 
> --
> 
> diff --git a/arch/loongarch/Makefile b/arch/loongarch/Makefile
> index 063a578bbdaa..6ee3d7826893 100644
> --- a/arch/loongarch/Makefile
> +++ b/arch/loongarch/Makefile
> @@ -9,10 +9,16 @@ KBUILD_DEFCONFIG := loongson3_defconfig
>  
>  ifndef CONFIG_EFI_STUB
>  KBUILD_IMAGE   := $(boot)/vmlinux.elf
> -else
> +else # CONFIG_EFI_STUB
> +
> +ifndef CONFIG_EFI_ZBOOT
>  KBUILD_IMAGE   := $(boot)/vmlinux.efi
> +else
> +KBUILD_IMAGE   := $(boot)/vmlinuz.efi
>  endif
>  
> +endif # CONFIG_EFI_STUB
> +

Oh, it depends on Huacai's not-merged-yet patch...  Sorry for noise.
-- 
Xi Ruoyao <xry111 at xry111.site>
School of Aerospace Science and Technology, Xidian University



More information about the linux-arm-kernel mailing list