From: Jisheng Zhang Date: Wed, 23 Nov 2022 15:02:57 +0000 (+0800) Subject: riscv: boot: add zstd support X-Git-Tag: v6.6.17~5917^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de59b6ed0618b909be78f6bc60874a57dd016063;p=platform%2Fkernel%2Flinux-rpi.git riscv: boot: add zstd support Support build the zstd compressed Image.zst. Similar as other compressed formats, the Image.zst is not self-decompressing and the bootloader still needs to handle decompression before launching the kernel image. Signed-off-by: Jisheng Zhang Link: https://lore.kernel.org/r/20221123150257.3108-1-jszhang@kernel.org Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/boot/Makefile b/arch/riscv/boot/Makefile index d1a49ad..c72de72 100644 --- a/arch/riscv/boot/Makefile +++ b/arch/riscv/boot/Makefile @@ -56,6 +56,9 @@ $(obj)/Image.lzma: $(obj)/Image FORCE $(obj)/Image.lzo: $(obj)/Image FORCE $(call if_changed,lzo) +$(obj)/Image.zst: $(obj)/Image FORCE + $(call if_changed,zstd) + $(obj)/loader.bin: $(obj)/loader FORCE $(call if_changed,objcopy)