On Sat, May 04, 2024 at 09:34:38PM +0200, Emil Renner Berthing 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@xxxxxxxxxxxx> > Signed-off-by: Emil Renner Berthing <emil.renner.berthing@xxxxxxxxxxxxx> > --- > Changes in v2: > - Rebase on riscv/for-next > - Use boot-image-$(CONFIG_..) := assignments rather than ifeq train > --- Looks good to me. Reviewed-by: Nicolas Schier <n.schier@xxxxxx>