Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 087f91d2 authored by Alistair Delva's avatar Alistair Delva
Browse files

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: default avatarAlistair Delva <adelva@google.com>
Change-Id: I9604cc7d1f3600dec27ceb460f7c29d977a919b1
parent b9880ec4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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