diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2022-06-19 19:06:57 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-23 19:33:30 +0200 |
commit | 9f6a503d5238f444b13aaeaf8b88032dbcc5b707 (patch) | |
tree | 8ecdd6f5e75ac8cc2ee09b7cc35e538611283e01 /arch/arm64/boot/Makefile | |
parent | Linux 5.19-rc3 (diff) | |
download | linux-9f6a503d5238f444b13aaeaf8b88032dbcc5b707.tar.xz linux-9f6a503d5238f444b13aaeaf8b88032dbcc5b707.zip |
arm64: 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 <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20220619170657.2657-1-jszhang@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/boot/Makefile')
-rw-r--r-- | arch/arm64/boot/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile index ebe80faab883..a0e3dedd2883 100644 --- a/arch/arm64/boot/Makefile +++ b/arch/arm64/boot/Makefile @@ -16,7 +16,7 @@ OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S -targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo +targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo Image.zst $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) @@ -35,3 +35,6 @@ $(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) |