e2fsprogs are only needed when the quotacheck tool is built with extfs support. Add a new option for this and select e2fsprogs only when necessary.
Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> --- rules/quota-tools.in | 13 ++++++++++--- rules/quota-tools.make | 3 ++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/rules/quota-tools.in b/rules/quota-tools.in index 04b816208..818fc703c 100644 --- a/rules/quota-tools.in +++ b/rules/quota-tools.in @@ -3,9 +3,9 @@ menuconfig QUOTA_TOOLS tristate prompt "quota tools " - select E2FSPROGS - select E2FSPROGS_LIBEXT2FS - select E2FSPROGS_LIBCOM_ERR + select E2FSPROGS if QUOTA_TOOLS_QUOTACHECK_EXT2 + select E2FSPROGS_LIBEXT2FS if QUOTA_TOOLS_QUOTACHECK_EXT2 + select E2FSPROGS_LIBCOM_ERR if QUOTA_TOOLS_QUOTACHECK_EXT2 help Tools and patches for the Linux Diskquota system as part of the Linux kernel (http://sourceforge.net/projects/linuxquota) @@ -60,6 +60,13 @@ config QUOTA_TOOLS_QUOTACHECK help scan a filesystem for disk usage, create, check and repair quota files +config QUOTA_TOOLS_QUOTACHECK_EXT2 + bool + prompt "Enable extfs support for quotacheck" + depends on QUOTA_TOOLS_QUOTACHECK + help + Enable this option to get direct extfs support in quotacheck + config QUOTA_TOOLS_CONVERTQUOTA bool prompt "install convertquota" diff --git a/rules/quota-tools.make b/rules/quota-tools.make index 57c00a383..976ba6765 100644 --- a/rules/quota-tools.make +++ b/rules/quota-tools.make @@ -36,7 +36,8 @@ QUOTA_TOOLS_AUTOCONF := $(CROSS_AUTOCONF_USR) \ --disable-netlink \ --disable-nls \ --disable-libwrap \ - --disable-rpc + --disable-rpc \ + --$(call ptx/endis, PTXCONF_QUOTA_TOOLS_QUOTACHECK_EXT2)-ext2direct # ---------------------------------------------------------------------------- # Compile -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de