]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - fs/ubifs/Config.in
fs/ubifs: spin-off ubi to be its own filesystem
[coffee/buildroot.git] / fs / ubifs / Config.in
1 config BR2_TARGET_ROOTFS_UBIFS
2         bool "ubifs root filesystem"
3         help
4           Build a ubifs root filesystem
5
6 if BR2_TARGET_ROOTFS_UBIFS
7
8 config BR2_TARGET_ROOTFS_UBIFS_LEBSIZE
9         hex "logical eraseblock size"
10         default 0x1f800
11         help
12           Logical eraseblock (LEB) size. The value provided here is
13           passed to the -e/--leb-size option of mkfs.ubifs.
14
15 config BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE
16         hex "minimum I/O unit size"
17         default 0x800
18         help
19           Minimum I/O unit size. The value provided here is passed
20           to the -m/--min-io-size option of mkfs.ubifs/ubinize.
21
22 config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
23         int "maximum logical eraseblock count"
24         default 2048
25         help
26           Maximum logical eraseblock (LEB) count. The value provided
27           here is passed to the -c/--max-leb-cnt option of mkfs.ubifs.
28
29 choice
30         prompt "ubifs runtime compression"
31         default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
32         help
33           Select which compression format to use at run-time within
34           the ubifs file system. The choice made here is passed to
35           the -x/--compr option of mkfs.ubifs
36
37 config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
38         bool "no compression"
39         help
40           Don't use run-time compression.
41
42 config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
43         bool "gzip"
44         help
45           Use zlib compression at run-time.
46
47 config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
48         bool "lzo"
49         help
50           Use lzo compression at run-time.
51
52 endchoice
53
54 choice
55         prompt "Compression method"
56         default BR2_TARGET_ROOTFS_UBIFS_NONE
57         help
58           Select which compression format to compress the final image
59           into.
60
61 config BR2_TARGET_ROOTFS_UBIFS_NONE
62         bool "no compression"
63         help
64           Do not compress the ubifs filesystem.
65
66 config BR2_TARGET_ROOTFS_UBIFS_GZIP
67         bool "gzip"
68         help
69           Do compress the ubifs filesystem with gzip.
70
71 config BR2_TARGET_ROOTFS_UBIFS_BZIP2
72         bool "bzip2"
73         help
74           Do compress the ubifs filesystem with bzip2.
75
76 config BR2_TARGET_ROOTFS_UBIFS_LZMA
77         bool "lzma"
78         help
79           Do compress the ubifs filesystem with lzma.
80
81 config BR2_TARGET_ROOTFS_UBIFS_LZO
82         bool "lzo"
83         help
84           Do compress the ubifs filesystem with lzop.
85
86 config BR2_TARGET_ROOTFS_UBIFS_XZ
87         bool "xz"
88         help
89           Do compress the ubifs filesystem with xz.
90
91 endchoice
92
93 config BR2_TARGET_ROOTFS_UBIFS_OPTS
94         string "Additional mkfs.ubifs options"
95         help
96           Any additional mkfs.ubifs options you may want to include.
97
98 endif # BR2_TARGET_ROOTFS_UBIFS