summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-09-20 22:05:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-20 22:05:39 +0200
commited4ca35a1a5996569b1a1d769cb080c5f1fd62c6 (patch)
treea7b3fe2c7b36a618aee52bf2bac401a4b02c96da /fs/squashfs/squashfs.mk
parentd380d51427e90fd32fd2a72be4c2abf3b5085750 (diff)
downloadbuildroot-novena-ed4ca35a1a5996569b1a1d769cb080c5f1fd62c6.tar.gz
buildroot-novena-ed4ca35a1a5996569b1a1d769cb080c5f1fd62c6.zip
squashfs: add lzma support
And try to select a sane default compression algorithm. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs/squashfs/squashfs.mk')
-rw-r--r--fs/squashfs/squashfs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk
index 311a3ee1e..7efe979e8 100644
--- a/fs/squashfs/squashfs.mk
+++ b/fs/squashfs/squashfs.mk
@@ -10,8 +10,12 @@ ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y)
ROOTFS_SQUASHFS_ARGS += -comp lzo
else
+ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZMA),y)
+ROOTFS_SQUASHFS_ARGS += -comp lzma
+else
ROOTFS_SQUASHFS_ARGS += -comp gzip
endif
+endif
else
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3