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