ANDROID: GKI: scripts: Makefile: update the lz4 command
Use 'lz4' instead of 'lz4c' and increase the compression level. This also optimizes for decompression speed at this higher level. Bug: 159285792 Test: launch_cvd -kernel_path bzImage Signed-off-by: Alistair Delva <adelva@google.com> Change-Id: I9604cc7d1f3600dec27ceb460f7c29d977a919b1
This commit is contained in:
parent
b9880ec496
commit
087f91d22a
1 changed files with 2 additions and 1 deletions
|
@ -335,7 +335,8 @@ cmd_lzo = (cat $(filter-out FORCE,$^) | \
|
|||
|
||||
quiet_cmd_lz4 = LZ4 $@
|
||||
cmd_lz4 = (cat $(filter-out FORCE,$^) | \
|
||||
lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
||||
lz4 -c -l -12 --favor-decSpeed stdin stdout && \
|
||||
$(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
||||
(rm -f $@ ; false)
|
||||
|
||||
# U-Boot mkimage
|
||||
|
|
Loading…
Reference in a new issue