Skip to content

Commit de59b6e

Browse files
xhackerustcpalmer-dabbelt
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 558480d commit de59b6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/riscv/boot/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ $(obj)/Image.lzma: $(obj)/Image FORCE
5656
$(obj)/Image.lzo: $(obj)/Image FORCE
5757
$(call if_changed,lzo)
5858

59+
$(obj)/Image.zst: $(obj)/Image FORCE
60+
$(call if_changed,zstd)
61+
5962
$(obj)/loader.bin: $(obj)/loader FORCE
6063
$(call if_changed,objcopy)
6164

0 commit comments

Comments
 (0)