[LEDE-DEV] [PATCH 1/2] e2fsprogs: Honor the global verbose flag

Florian Fainelli f.fainelli at gmail.com
Fri Sep 2 14:03:35 PDT 2016


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

Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 package/utils/e2fsprogs/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 247b5ed4a479..3d995eb7957f 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)),V=1,V='') \
 		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)),V=1,V='') \
 		all
 endef
 
-- 
2.9.3




More information about the Lede-dev mailing list