config BR2_PACKAGE_SQUASHFS
	bool "squashfs"
	depends on BR2_LARGEFILE
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_SQUASHFS_GZIP if !(BR2_PACKAGE_SQUASHFS_LZMA || BR2_PACKAGE_SQUASHFS_LZO)
	help
	  Tools to generate SquashFS filesystems.

	  http://squashfs.sourceforge.net/

if BR2_PACKAGE_SQUASHFS

config BR2_PACKAGE_SQUASHFS_GZIP
       bool "gzip support"
       default y
       select BR2_PACKAGE_ZLIB
       help
         Support GZIP compression algorithm

config BR2_PACKAGE_SQUASHFS_LZMA
       bool "lzma support"
       select BR2_PACKAGE_XZ
       help
         Support LZMA compression algorithm

config BR2_PACKAGE_SQUASHFS_LZO
       bool "lzo support"
       select BR2_PACKAGE_LZO
       help
         Support LZO compression algorithm

config BR2_PACKAGE_SQUASHFS_XZ
       bool "xz support"
       select BR2_PACKAGE_XZ
       help
         Support XZ compression algorithm

endif

comment "squashfs requires a toolchain with LARGEFILE and threads support"
	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
