[PATCH v1 0/3] riscv: make image compression configurable

Björn Töpel bjorn at kernel.org
Thu May 2 06:03:42 PDT 2024


Emil Renner Berthing <emil.renner.berthing at canonical.com> writes:

> Masahiro's patch[1] made me wonder why we're not just using KBUILD_IMAGE
> to determine which (possibly compressed) kernel image to use in 'make
> tar-pkg' like other architectures do. It turns out we're always setting
> KBUILD_IMAGE to the uncompressed Image file and then compressing it into
> the Image.gz file afterwards.
>
> This series fixes that so the compression method is configurable and
> KBUILD_IMAGE is set to the chosen (possibly uncompressed) kernel image
> which is then used by targets like 'make install' and 'make bindeb-pkg' and
> 'make tar-pkg'.
>
> Patch 3/3 depends on the previously mentioned patch below.

Nice!

Tested-by: Björn Töpel <bjorn at rivosinc.com>



More information about the linux-riscv mailing list