Author: blogic
Date: 2016-04-26 13:43:24 +0200 (Tue, 26 Apr 2016)
New Revision: 49240

Modified:
   trunk/include/image.mk
Log:
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 <[email protected]>

Modified: trunk/include/image.mk
===================================================================
--- trunk/include/image.mk      2016-04-26 11:43:21 UTC (rev 49239)
+++ trunk/include/image.mk      2016-04-26 11:43:24 UTC (rev 49240)
@@ -336,7 +336,11 @@
 endef
 
 define Build/lzma
-       $(STAGING_DIR_HOST)/bin/lzma e $@ -lc1 -lp2 -pb2 $(1) [email protected]
+       $(call Build/lzma-no-dict,-lc1 -lp2 -pb2 $(1))
+endef
+
+define Build/lzma-no-dict
+       $(STAGING_DIR_HOST)/bin/lzma e $@ $(1) [email protected]
        @mv [email protected] $@
 endef
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to