From: Kefeng Wang Date: Wed, 4 Nov 2020 06:14:59 +0000 (+0800) Subject: riscv: Fix compressed Image formats build X-Git-Tag: v5.11-rc1~69^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c18d7c17c005f4988ea2716d94d3e598eb6d5c90;p=thirdparty%2Fkernel%2Flinux.git riscv: Fix compressed Image formats build make[1]: *** No rule to make target `Image.lzma'. Stop. When make ARCH=riscv Image.lzma, it won't work, let's fix it. Reviewed-by: Atish Patra Signed-off-by: Kefeng Wang Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 0289a97325d12..0d9ecb959962a 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -96,5 +96,8 @@ $(BOOT_TARGETS): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ @$(kecho) ' Kernel: $(boot)/$@ is ready' +Image.%: Image + $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + zinstall install: $(Q)$(MAKE) $(build)=$(boot) $@