Makefile.lib: Stop calling size_append

Idea is from YaroST12 @ GitHub

Signed-off-by: Julian Liu <wlootlxt123@gmail.com>
Change-Id: Ia85ed9ebdc2fcbeecef8126aac523d6d8cffdaa3
fourteen
Julian Liu 5 years ago committed by Simon1511
parent ef682af05f
commit d80becc6a7
  1. 15
      scripts/Makefile.lib

@ -345,27 +345,23 @@ printf "%08x\n" $$dec_size | \
)
quiet_cmd_bzip2 = BZIP2 $@
cmd_bzip2 = (cat $(filter-out FORCE,$^) | \
bzip2 -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
cmd_bzip2 = (cat $(filter-out FORCE,$^) | bzip2 -9) > $@ || \
(rm -f $@ ; false)
# Lzma
# ---------------------------------------------------------------------------
quiet_cmd_lzma = LZMA $@
cmd_lzma = (cat $(filter-out FORCE,$^) | \
lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
cmd_lzma = (cat $(filter-out FORCE,$^) | lzma -9) > $@ || \
(rm -f $@ ; false)
quiet_cmd_lzo = LZO $@
cmd_lzo = (cat $(filter-out FORCE,$^) | \
lzop -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
cmd_lzo = (cat $(filter-out FORCE,$^) | lzop -9) > $@ || \
(rm -f $@ ; false)
quiet_cmd_lz4 = LZ4 $@
cmd_lz4 = (cat $(filter-out FORCE,$^) | \
lz4 -l -12 --favor-decSpeed stdin stdout && \
$(call size_append, $(filter-out FORCE,$^))) > $@ || \
lz4 -l -12 --favor-decSpeed stdin stdout) > $@ || \
(rm -f $@ ; false)
# U-Boot mkimage
@ -411,8 +407,7 @@ quiet_cmd_uimage = UIMAGE $(UIMAGE_OUT)
# decompression mode. A BCJ filter isn't used either.
quiet_cmd_xzkern = XZKERN $@
cmd_xzkern = (cat $(filter-out FORCE,$^) | \
sh $(srctree)/scripts/xz_wrap.sh && \
$(call size_append, $(filter-out FORCE,$^))) > $@ || \
sh $(srctree)/scripts/xz_wrap.sh) > $@ || \
(rm -f $@ ; false)
quiet_cmd_xzmisc = XZMISC $@

Loading…
Cancel
Save