From: blogic Date: Tue, 26 Apr 2016 11:43:24 +0000 (+0000) Subject: include: add a no dict version of lzma to new image build code X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=df4bba11a95f6d42446aa6168a50fe46fff02576;p=openwrt.git include: add a no dict version of lzma to new image build code Required to compress kernels in a brnboot compatible way. Signed-off-by: Mathias Kresin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49240 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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