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
master
Felix Fietkau 2011-07-24 09:16:55 +00:00
parent 70cc631879
commit 12e992638e
1 changed files with 1 additions and 0 deletions

View File

@ -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)