diff options
author | Emil Renner Berthing <emil.renner.berthing@canonical.com> | 2024-05-04 22:34:38 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-05-23 02:12:44 +0300 |
commit | e79dfcbfb902a99268cc8022031461da7a8e2bc8 (patch) | |
tree | 3f251d982ad4fccebe2747932afac34ce1149a2d /.cocciconfig | |
parent | 0bfbc914d9433d8ac2763a9ce99ce7721ee5c8e0 (diff) | |
download | linux-e79dfcbfb902a99268cc8022031461da7a8e2bc8.tar.xz |
riscv: make image compression configurable
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@rivosinc.com>
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20240504193446.196886-2-emil.renner.berthing@canonical.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions