xref: /OK3568_Linux_fs/buildroot/fs/ubifs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_TARGET_ROOTFS_UBIFS
2	bool "ubifs root filesystem"
3	help
4	  Build a ubifs root filesystem
5
6if BR2_TARGET_ROOTFS_UBIFS
7
8config 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
15config 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
22config 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
29choice
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
37config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
38	bool "no compression"
39	help
40	  Don't use run-time compression.
41
42config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
43	bool "gzip"
44	help
45	  Use zlib compression at run-time.
46
47config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
48	bool "lzo"
49	help
50	  Use lzo compression at run-time.
51
52endchoice
53
54choice
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
61config BR2_TARGET_ROOTFS_UBIFS_NONE
62	bool "no compression"
63	help
64	  Do not compress the ubifs filesystem.
65
66config BR2_TARGET_ROOTFS_UBIFS_GZIP
67	bool "gzip"
68	help
69	  Do compress the ubifs filesystem with gzip.
70
71config BR2_TARGET_ROOTFS_UBIFS_BZIP2
72	bool "bzip2"
73	help
74	  Do compress the ubifs filesystem with bzip2.
75
76config BR2_TARGET_ROOTFS_UBIFS_LZMA
77	bool "lzma"
78	help
79	  Do compress the ubifs filesystem with lzma.
80
81config BR2_TARGET_ROOTFS_UBIFS_LZO
82	bool "lzo"
83	help
84	  Do compress the ubifs filesystem with lzop.
85
86config BR2_TARGET_ROOTFS_UBIFS_XZ
87	bool "xz"
88	help
89	  Do compress the ubifs filesystem with xz.
90
91endchoice
92
93config 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
98endif # BR2_TARGET_ROOTFS_UBIFS
99