summaryrefslogtreecommitdiff
path: root/package/e2fsprogs
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-28 15:04:09 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-28 15:35:55 +0200
commit5d7cac5eb28742cc6156aa902349918879add8a8 (patch)
tree3987c6d86fac2327eb0d0d96a30313fbb6678410 /package/e2fsprogs
parentf94057d89d454bd6683e979cee1ef79c79c24401 (diff)
e2fsprogs: add options for debugfs/e2image/resize2fs utilities
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/e2fsprogs')
-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 \