summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-24 09:16:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-24 09:16:55 +0000
commit0f93db2de5955527ca020e779dd94988bda2bcfe (patch)
tree5ca545770478118b19288ca07cd593189acb9b95 /include/image.mk
parenta6f7e72cf734fb06374d1f1130a862f0ff6e0185 (diff)
downloadmtk-20170518-0f93db2de5955527ca020e779dd94988bda2bcfe.zip
mtk-20170518-0f93db2de5955527ca020e779dd94988bda2bcfe.tar.gz
mtk-20170518-0f93db2de5955527ca020e779dd94988bda2bcfe.tar.bz2
default to using gzip with mksquashfs if lzma and xz are unavailable
SVN-Revision: 27748
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index c17a2cd..65d79f4 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -42,6 +42,7 @@ ifneq ($(CONFIG_JFFS2_LZMA),y)
JFFS2OPTS += -x lzma
endif
+SQUASHFSCOMP := gzip
LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2
ifeq ($(CONFIG_SQUASHFS_LZMA),y)
SQUASHFSCOMP := lzma $(LZMA_XZ_OPTIONS)