summaryrefslogtreecommitdiffstats
path: root/fs/ext2/Config.in
blob: c8320e281d41906b30db9e3e350323db09e5fff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
config BR2_TARGET_ROOTFS_EXT2
	bool "ext2/3/4 root filesystem"
	select BR2_PACKAGE_HOST_E2FSPROGS
	help
	  Build an ext2/3/4 root filesystem

if BR2_TARGET_ROOTFS_EXT2

choice
	bool "ext2/3/4 variant"
	default BR2_TARGET_ROOTFS_EXT2_2

config BR2_TARGET_ROOTFS_EXT2_2
	bool "ext2"

config BR2_TARGET_ROOTFS_EXT2_3
	bool "ext3"

config BR2_TARGET_ROOTFS_EXT2_4
	bool "ext4"

endchoice

config BR2_TARGET_ROOTFS_EXT2_GEN
	int
	default 2 if BR2_TARGET_ROOTFS_EXT2_2
	default 3 if BR2_TARGET_ROOTFS_EXT2_3
	default 4 if BR2_TARGET_ROOTFS_EXT2_4

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

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

config BR2_TARGET_ROOTFS_EXT2_RESBLKS
	int "reserved blocks percentage"
	default 0

choice
	prompt "Compression method"
	default BR2_TARGET_ROOTFS_EXT2_NONE
	help
	  Select compressor for ext2/3/4 filesystem of the root filesystem

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

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

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

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

endchoice

endif # BR2_TARGET_ROOTFS_EXT2