summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/e2fsprogs/Config.in9
-rw-r--r--package/e2fsprogs/e2fsprogs.mk6
2 files changed, 12 insertions, 3 deletions
diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index 3060719d5..2410fef99 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -26,6 +26,9 @@ config BR2_PACKAGE_E2FSPROGS_CHATTR
bool "chattr"
default y
+config BR2_PACKAGE_E2FSPROGS_DEBUGFS
+ bool "debugfs"
+
config BR2_PACKAGE_E2FSPROGS_DUMPE2FS
bool "dumpe2fs"
default y
@@ -40,6 +43,9 @@ config BR2_PACKAGE_E2FSPROGS_E2FSCK
default y
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
+config BR2_PACKAGE_E2FSPROGS_E2IMAGE
+ bool "e2image"
+
config BR2_PACKAGE_E2FSPROGS_E2LABEL
bool "e2label"
default y
@@ -81,6 +87,9 @@ config BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND
default y
depends on BR2_PACKAGE_E2FSPROGS
+config BR2_PACKAGE_E2FSPROGS_RESIZE2FS
+ bool "resize2fs"
+
config BR2_PACKAGE_E2FSPROGS_TUNE2FS
bool "tune2fs"
default y
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 8a7edb427..6381d05aa 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -11,9 +11,9 @@ E2FSPROGS_INSTALL_STAGING = YES
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 \