squashfs: bump 4.x, add lzo support
We'll need libattr/xz packages in BR to enable support for those. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -19,5 +19,20 @@ config BR2_TARGET_ROOTFS_SQUASHFS3
|
||||
bool "3.x"
|
||||
|
||||
endchoice
|
||||
endif
|
||||
|
||||
choice
|
||||
prompt "Compression algorithm"
|
||||
default BR2_TARGET_ROOTFS_SQUASHFS4_GZIP
|
||||
depends on BR2_TARGET_ROOTFS_SQUASHFS4
|
||||
help
|
||||
Select the squashfs compression algorithm to use when
|
||||
generating the filesystem.
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_GZIP
|
||||
bool "gzip"
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_LZO
|
||||
bool "lzo"
|
||||
|
||||
endchoice
|
||||
endif
|
||||
|
||||
@@ -6,6 +6,13 @@
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y)
|
||||
ROOTFS_SQUASHFS_ARGS += -comp lzo
|
||||
else
|
||||
ROOTFS_SQUASHFS_ARGS += -comp gzip
|
||||
endif
|
||||
|
||||
else
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user