SQUASHFSCOMP constant will be empty in case of compression
type has not been selected. This patch adds compression
type "gzip" by default.

Signed-off-by: Sergey Shcherbakov <[email protected]>
---
 include/image.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/image.mk b/include/image.mk
index 753e88f..ed3c7f2 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -43,6 +43,7 @@ ifneq ($(CONFIG_JFFS2_LZMA),y)
 endif

 LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2
+SQUASHFSCOMP := gzip
 ifeq ($(CONFIG_SQUASHFS_LZMA),y)
  SQUASHFSCOMP := lzma $(LZMA_XZ_OPTIONS)
 endif
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to