Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
bool "chattr"
default y
+config BR2_PACKAGE_E2FSPROGS_DEBUGFS
+ bool "debugfs"
+
config BR2_PACKAGE_E2FSPROGS_DUMPE2FS
bool "dumpe2fs"
default y
default y
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
+config BR2_PACKAGE_E2FSPROGS_E2IMAGE
+ bool "e2image"
+
config BR2_PACKAGE_E2FSPROGS_E2LABEL
bool "e2label"
default y
default y
depends on BR2_PACKAGE_E2FSPROGS
+config BR2_PACKAGE_E2FSPROGS_RESIZE2FS
+ bool "resize2fs"
+
config BR2_PACKAGE_E2FSPROGS_TUNE2FS
bool "tune2fs"
default y
E2FSPROGS_CONF_OPT = \
--disable-tls \
--enable-elf-shlibs \
- --disable-debugfs \
- --disable-imager \
- --disable-resizer \
+ $(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),,--disable-debugfs) \
+ $(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),,--disable-imager) \
+ $(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),,--disable-resizer) \
$(if $(BR2_PACKAGE_E2FSPROGS_UUIDD),,--disable-uuidd) \
--enable-fsck \
--disable-e2initrd-helper \