From: Peter Korsgaard Date: Thu, 28 Jul 2011 13:04:09 +0000 (+0200) Subject: e2fsprogs: add options for debugfs/e2image/resize2fs utilities X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d7cac5eb28742cc6156aa902349918879add8a8;p=buildroot.git e2fsprogs: add options for debugfs/e2image/resize2fs utilities Signed-off-by: Peter Korsgaard --- diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in index 3060719d5a..2410fef99b 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 8a7edb4274..6381d05aa3 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 \