[PATCH 1/3] riscv: Fix compressed Image formats build

Atish Patra atishp at atishpatra.org
Tue Nov 3 10:34:31 EST 2020


On Sun, Nov 1, 2020 at 7:58 PM Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
>
> make[1]: *** No rule to make target `Image.lzma'.  Stop.
>
> When make ARCH=riscv Image.lzma, it won't work, let's fix it.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
> ---
>  arch/riscv/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
>
> 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) $@
> --
> 2.26.2
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv


Reviewed-by: Atish Patra <atish.patra at wdc.com>

-- 
Regards,
Atish



More information about the linux-riscv mailing list