Skip to content
Snippets Groups Projects
Commit 2d255ac8 authored by John Crispin's avatar John Crispin
Browse files

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: default avatarMathias Kresin <openwrt@kresin.me>

SVN-Revision: 49240
parent 6ade87df
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment