summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-24 09:16:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-24 09:16:55 +0000
commit6e944703de85ba0c002015b978a72b9deb9f24d2 (patch)
tree67bafa00745b022127d19fec55fe073d2d3426d4
parent79860ef18f23d1712cb395e5b871e5b724256abf (diff)
default to using gzip with mksquashfs if lzma and xz are unavailable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27748 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index c17a2cdac..65d79f4db 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)