diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2022-07-13 11:57:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-07-16 18:59:16 +0200 |
commit | 6c03bdf8f99932efcc4e01bed04698ca6d9f4eab (patch) | |
tree | 4562f868daf70d988e09700dbd0bd9ca394cf20b /images/Makefile | |
parent | 845524484c298bf173d682b48dd456b147ad5a61 (diff) | |
download | barebox-6c03bdf8f99932efcc4e01bed04698ca6d9f4eab.tar.gz barebox-6c03bdf8f99932efcc4e01bed04698ca6d9f4eab.tar.xz |
kbuild: pbl: use same compression algo for both barebox and DTB
lzop hasn't seen any activity since 2017 and has been recently removed
from OpenEmbedded, which is unfortunate as we unconditionally use LZO
for compressing device trees that are referenced via __dtb_z_.
To make barebox easier to integrate, use the same compression algorithm
for both barebox and compressed DTB.
Note that the decompressor code will be in the image twice: Once in PBL
in uncompressed form to decompress barebox proper and once in compressed
form to decompress the DTB.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220713095730.1878941-6-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile')
-rw-r--r-- | images/Makefile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/images/Makefile b/images/Makefile index a148cf4176..c79f1a272e 100644 --- a/images/Makefile +++ b/images/Makefile @@ -108,12 +108,6 @@ $(obj)/%.pblb: $(obj)/%.pbl FORCE $(obj)/%.s: $(obj)/% FORCE $(call if_changed,disasm) -suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip -suffix_$(CONFIG_IMAGE_COMPRESSION_LZO) = lzo -suffix_$(CONFIG_IMAGE_COMPRESSION_LZ4) = lz4 -suffix_$(CONFIG_IMAGE_COMPRESSION_XZKERN) = xzkern -suffix_$(CONFIG_IMAGE_COMPRESSION_NONE) = comp_copy - $(obj)/piggy.o: $(obj)/barebox.z FORCE $(obj)/sha_sum.o: $(obj)/barebox.sha.bin FORCE |