X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fimage.mk;h=bc383e6ba81c783518fe4bb24308e8942b90e64d;hb=f650c74ddff8e8db6eaec159be90e2025f3f0f6d;hp=7c11aa1c13849e0fce4ffdbdaf76711681c99e2f;hpb=70b493d7888a7b9638784de07a89519f70d12e52;p=openwrt.git diff --git a/include/image.mk b/include/image.mk index 7c11aa1c13..bc383e6ba8 100644 --- a/include/image.mk +++ b/include/image.mk @@ -336,7 +336,11 @@ define Build/fit endef define Build/lzma - $(STAGING_DIR_HOST)/bin/lzma e $@ -lc1 -lp2 -pb2 $(1) $@.new + $(call Build/lzma-no-dict,-lc1 -lp2 -pb2 $(1)) +endef + +define Build/lzma-no-dict + $(STAGING_DIR_HOST)/bin/lzma e $@ $(1) $@.new @mv $@.new $@ endef