config BR2_TARGET_ROOTFS_SQUASHFS
	bool "squashfs root filesystem"
	select BR2_HOST_FAKEROOT
	help
	  Build a squashfs root filesystem

choice
	prompt "Squashfs version"
	default BR2_TARGET_ROOTFS_SQUASHFS_4
	depends on BR2_TARGET_ROOTFS_SQUASHFS
	help
	  Select squashfs version - This must match what your kernel
	  supports. Select 3.x if you use the legacy 3.x kernel
	  patches (pre 2.6.29), and 4.x otherwise.

config BR2_TARGET_ROOTFS_SQUASHFS_3
       depends on BR2_DEPRECATED || BR2_RECENT
       bool "3.x"
       help
         Select this if you use the legacy 3.x kernel patches (pre 2.6.29)

config BR2_TARGET_ROOTFS_SQUASHFS_4
       bool "4.x"
       help
         Select this if you use the squashfs version in mainline (from 2.6.29)

endchoice

config BR2_TARGET_ROOTFS_SQUASHFS_VERSION
	string
	default "3.4"	if BR2_TARGET_ROOTFS_SQUASHFS_3
	default "4.0"	if BR2_TARGET_ROOTFS_SQUASHFS_4