Makefile.lib: Stop calling size_append
Fixes extremely slow compile times of techpack driver. Co-authored-by: Yaroslav Furman <yaro330@gmail.com> Signed-off-by: Julian Liu <wlootlxt123@gmail.com> Change-Id: Ifed2ecdabcebdf363d3cca7cb6dedfefaee91b54 Signed-off-by: engstk <eng.stk@sapo.pt>
This commit is contained in:
parent
d39544a2fc
commit
f3691362f2
@ -343,21 +343,18 @@ printf "%08x\n" $$dec_size | \
|
|||||||
|
|
||||||
quiet_cmd_bzip2 = BZIP2 $@
|
quiet_cmd_bzip2 = BZIP2 $@
|
||||||
cmd_bzip2 = (cat $(filter-out FORCE,$^) | \
|
cmd_bzip2 = (cat $(filter-out FORCE,$^) | \
|
||||||
bzip2 -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
bzip2 -9 || (rm -f $@ ; false)
|
||||||
(rm -f $@ ; false)
|
|
||||||
|
|
||||||
# Lzma
|
# Lzma
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
quiet_cmd_lzma = LZMA $@
|
quiet_cmd_lzma = LZMA $@
|
||||||
cmd_lzma = (cat $(filter-out FORCE,$^) | \
|
cmd_lzma = (cat $(filter-out FORCE,$^) | \
|
||||||
lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
lzma -9 || (rm -f $@ ; false)
|
||||||
(rm -f $@ ; false)
|
|
||||||
|
|
||||||
quiet_cmd_lzo = LZO $@
|
quiet_cmd_lzo = LZO $@
|
||||||
cmd_lzo = (cat $(filter-out FORCE,$^) | \
|
cmd_lzo = (cat $(filter-out FORCE,$^) | \
|
||||||
lzop -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
lzop -9 || (rm -f $@ ; false)
|
||||||
(rm -f $@ ; false)
|
|
||||||
|
|
||||||
quiet_cmd_lz4 = LZ4 $@
|
quiet_cmd_lz4 = LZ4 $@
|
||||||
cmd_lz4 = (cat $(filter-out FORCE,$^) | \
|
cmd_lz4 = (cat $(filter-out FORCE,$^) | \
|
||||||
@ -407,9 +404,7 @@ quiet_cmd_uimage = UIMAGE $(UIMAGE_OUT)
|
|||||||
# decompression mode. A BCJ filter isn't used either.
|
# decompression mode. A BCJ filter isn't used either.
|
||||||
quiet_cmd_xzkern = XZKERN $@
|
quiet_cmd_xzkern = XZKERN $@
|
||||||
cmd_xzkern = (cat $(filter-out FORCE,$^) | \
|
cmd_xzkern = (cat $(filter-out FORCE,$^) | \
|
||||||
sh $(srctree)/scripts/xz_wrap.sh && \
|
sh $(srctree)/scripts/xz_wrap.sh || (rm -f $@ ; false)
|
||||||
$(call size_append, $(filter-out FORCE,$^))) > $@ || \
|
|
||||||
(rm -f $@ ; false)
|
|
||||||
|
|
||||||
quiet_cmd_xzmisc = XZMISC $@
|
quiet_cmd_xzmisc = XZMISC $@
|
||||||
cmd_xzmisc = (cat $(filter-out FORCE,$^) | \
|
cmd_xzmisc = (cat $(filter-out FORCE,$^) | \
|
||||||
|
Loading…
Reference in New Issue
Block a user