[PATCH v2 1/2] riscv: make image compression configurable
Masahiro Yamada
masahiroy at kernel.org
Tue May 7 07:26:00 PDT 2024
On Sun, May 5, 2024 at 4:34 AM Emil Renner Berthing
<emil.renner.berthing at canonical.com> wrote:
>
> Previously the build process would always set KBUILD_IMAGE to the
> uncompressed Image file (unless XIP_KERNEL or EFI_ZBOOT was enabled) and
> unconditionally compress it into Image.gz. However there are already
> build targets for Image.bz2, Image.lz4, Image.lzma, Image.lzo and
> Image.zstd, so let's make use of those, make the compression method
> configurable and set KBUILD_IMAGE accordingly so that targets like
> 'make install' and 'make bindeb-pkg' will use the chosen image.
>
> Tested-by: Björn Töpel <bjorn at rivosinc.com>
> Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
Reviewed-by: Masahiro Yamada <masahiroy at kernel.org>
--
Best Regards
Masahiro Yamada
More information about the linux-riscv
mailing list