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

Florian Fainelli f.fainelli at gmail.com
Wed Sep 7 10:25:33 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>
---
Changes in v2:

- fixed how V= will end-up being formatted

 package/utils/e2fsprogs/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index 247b5ed4a479..4e25ab0dc6f4 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
 
-- 
2.9.3




More information about the Lede-dev mailing list