config BR2_TARGET_ROOTFS_EXT2
	bool "ext2 root filesystem"
	help
	  Build an ext2 root filesystem

config BR2_TARGET_ROOTFS_EXT2_BLOCKS
	int "size in blocks (leave at 0 for auto calculation)"
	depends on BR2_TARGET_ROOTFS_EXT2
	default 0

config BR2_TARGET_ROOTFS_EXT2_INODES
	int "inodes (leave at 0 for auto calculation)"
	depends on BR2_TARGET_ROOTFS_EXT2
	default 0

config BR2_TARGET_ROOTFS_EXT2_RESBLKS
	int "reserved blocks percentage"
	depends on BR2_TARGET_ROOTFS_EXT2
	default 0

choice
	prompt "Compression method"
	default BR2_TARGET_ROOTFS_EXT2_NONE
	depends on BR2_TARGET_ROOTFS_EXT2
	help
	  Select compressor for ext2 filesystem of the root filesystem

config BR2_TARGET_ROOTFS_EXT2_NONE
	bool "no compression"
	help
	  Do not compress the ext2 filesystem.

config BR2_TARGET_ROOTFS_EXT2_GZIP
	bool "gzip"
	help
	  Do compress the ext2 filesystem with gzip.

config BR2_TARGET_ROOTFS_EXT2_BZIP2
	bool "bzip2"
	help
	  Do compress the ext2 filesystem with bzip2.

config BR2_TARGET_ROOTFS_EXT2_LZMA
	bool "lzma"
	help
	  Do compress the ext2 filesystem with lzma.

endchoice

