summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Makefile
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2020-11-04 14:14:59 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-11-09 11:54:43 -0800
commitc18d7c17c005f4988ea2716d94d3e598eb6d5c90 (patch)
tree101a496e56d8c945eb2d2049c31929c00092924e /arch/riscv/Makefile
parent00ab027a3b82dbad0a698fef1e359ebcab4c205b (diff)
downloadlinux-c18d7c17c005f4988ea2716d94d3e598eb6d5c90.tar.bz2
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 <atish.patra@wdc.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/Makefile')
-rw-r--r--arch/riscv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index 0289a97325d1..0d9ecb959962 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) $@