mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
rk: kbuild: Use standard lz4 format for Image.lz4 on ARM64
Uboot use the Standard Lz4 format to decompress kernel Image.lz4, So, we should use the standard one for lz4 compression. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: Ic299314a6377e68fac477f451d1ffcae9e8466ce
This commit is contained in:
@@ -28,7 +28,7 @@ $(obj)/Image.gz: $(obj)/Image FORCE
|
||||
$(call if_changed,gzip)
|
||||
|
||||
$(obj)/Image.lz4: $(obj)/Image FORCE
|
||||
$(call if_changed,lz4)
|
||||
$(call if_changed,lz4c)
|
||||
|
||||
$(obj)/Image.lzma: $(obj)/Image FORCE
|
||||
$(call if_changed,lzma)
|
||||
|
||||
@@ -425,6 +425,11 @@ quiet_cmd_lz4 = LZ4 $@
|
||||
$(LZ4) -l -12 --favor-decSpeed stdin stdout; \
|
||||
$(size_append); } > $@
|
||||
|
||||
quiet_cmd_lz4c = LZ4C $@
|
||||
cmd_lz4c = { cat $(real-prereqs) | \
|
||||
$(LZ4) -12 --favor-decSpeed stdin stdout; \
|
||||
$(size_append); } > $@
|
||||
|
||||
# U-Boot mkimage
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user