diff options
author | Antonello Dettori <dev@dettori.io> | 2016-07-23 17:11:44 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2018-01-15 01:27:48 +0000 |
commit | fbcfdaf785df87e27dbf556566f8b8a09e3f73ad (patch) | |
tree | 6922b26a962f1a1ae99c891dcd6ba1d96fe96430 /Makefile.inc | |
parent | 1898023fb1e7e410a0a916f0518dc5893fb9f988 (diff) |
payloads: add support lz4 compression
Add the option to use the lz4 compression method
to compress payloads.
Also sets LZ4 as the default compression method.
Change-Id: Ic712f984f791d268440c8463eaea0d246aa31d99
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/15817
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc index 413f7adaf6..ca157a29ab 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -345,6 +345,9 @@ CBFS_PAYLOAD_COMPRESS_FLAG:=none ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZMA),y) CBFS_PAYLOAD_COMPRESS_FLAG:=LZMA endif +ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZ4),y) +CBFS_PAYLOAD_COMPRESS_FLAG:=LZ4 +endif CBFS_PRERAM_COMPRESS_FLAG:=none ifeq ($(CONFIG_COMPRESS_PRERAM_STAGES),y) |