xref: /OK3568_Linux_fs/buildroot/package/e2fsprogs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1menuconfig BR2_PACKAGE_E2FSPROGS
2	bool "e2fsprogs"
3	depends on BR2_USE_MMU # util-linux/libblkid
4	select BR2_PACKAGE_UTIL_LINUX
5	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
6	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
7	help
8	  The EXT2 file system utilities.
9
10	  The following programs are always built and installed:
11	  badblocks chattr debugfs dumpe2fs e2freefrag e2fsck e2image
12	  e2undo e4crypt e4defrag filefrag fsck fuse2fs logsave lsattr
13	  mke2fs mklost+found resize2fs tune2fs
14
15	  The uuid utilities (uuidd, uuidgen) are not built. Use the
16	  ones from util-linux, instead.
17
18	  Other programs can be selected individually.
19
20	  http://e2fsprogs.sourceforge.net
21
22if BR2_PACKAGE_E2FSPROGS
23
24config BR2_PACKAGE_E2FSPROGS_DEBUGFS
25	bool "debugfs"
26	help
27	  ext2/ext3/ext4 file system debugger
28
29config BR2_PACKAGE_E2FSPROGS_E2IMAGE
30	bool "e2image"
31	help
32	  Save critical ext2/ext3/ext4 filesystem metadata to a file
33
34config BR2_PACKAGE_E2FSPROGS_E2SCRUB
35	bool "e2scrub"
36	depends on BR2_PACKAGE_BASH  # runtime
37	depends on BR2_PACKAGE_COREUTILS  # runtime
38	depends on BR2_PACKAGE_LVM2  # runtime
39	depends on BR2_PACKAGE_UTIL_LINUX  # runtime
40	help
41	  Check the contents of a mounted ext[234] filesystem
42
43comment "e2scrub needs bash, coreutils, lvm2, and util-linux"
44	depends on !BR2_PACKAGE_BASH || !BR2_PACKAGE_COREUTILS \
45		|| !BR2_PACKAGE_LVM2 || !BR2_PACKAGE_UTIL_LINUX
46
47config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
48	bool "e4defrag"
49	depends on !BR2_nios2 # fallocate not implemented
50	depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl
51	help
52	  Online defragmenter for ext4 filesystem
53
54comment "e4defrag needs a glibc or musl toolchain"
55	depends on !BR2_nios2
56	depends on BR2_TOOLCHAIN_USES_UCLIBC
57
58config BR2_PACKAGE_E2FSPROGS_FSCK
59	bool "fsck"
60	default y
61	depends on !BR2_PACKAGE_UTIL_LINUX_FSCK
62	help
63	  Check and repair a Linux file system. This is a wrapper around
64	  the filesystem-specific fsck tools.
65
66config BR2_PACKAGE_E2FSPROGS_FUSE2FS
67	bool "fuse2fs"
68	depends on !BR2_STATIC_LIBS # libfuse
69	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
70	select BR2_PACKAGE_LIBFUSE
71	help
72	  FUSE file system client for ext2/ext3/ext4 file systems
73
74comment "fuse2fs needs a toolchain w/ threads, dynamic library"
75	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
76
77config BR2_PACKAGE_E2FSPROGS_RESIZE2FS
78	bool "resize2fs"
79	help
80	  ext2/ext3/ext4 file system resizer
81
82endif
83