aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit12e992638e8848e18d8f689da52e445ad2034f3a (patch)
tree67bafa00745b022127d19fec55fe073d2d3426d4 /include
parent70cc63187987bada3a29fa5e0c4d0266ea369658 (diff)
downloadmaster-187ad058-12e992638e8848e18d8f689da52e445ad2034f3a.tar.gz
master-187ad058-12e992638e8848e18d8f689da52e445ad2034f3a.tar.bz2
master-187ad058-12e992638e8848e18d8f689da52e445ad2034f3a.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index c17a2cdace..65d79f4db8 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)