From: Florian Fainelli <f.fainelli@gmail.com>
Date: Wed, 7 Sep 2016 17:25:33 +0000 (-0700)
Subject: e2fsprogs: Honor the global verbose flag
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a2f2f32cfd6f3230957a93d88ae48bb0ef2cb4a;p=lede.git

e2fsprogs: Honor the global verbose flag

Look for OPENWRT_VERBOSE and pass it down to the e2fsprogs entry-point
Makefile.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---

diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 247b5ed4a4..4e25ab0dc6 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -131,12 +131,14 @@ define Build/Compile
 		CFLAGS="" \
 		CPPFLAGS="" \
 		LDFLAGS="" \
+		V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,) \
 		subst
 	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
 		LDFLAGS=-Wl,--gc-sections \
 		BUILDCC="$(HOSTCC)" \
 		DESTDIR="$(PKG_INSTALL_DIR)" \
 		LIBBLKID="$(PKG_BUILD_DIR)/lib/libblkid.a -luuid" \
+		V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,) \
 		all
 endef