mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
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 <openwrt@kresin.me> SVN-Revision: 49240
This commit is contained in:
parent
6ade87df0a
commit
2d255ac8d9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user