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

Felix Fietkau nbd at nbd.name
Sat Sep 3 01:51:21 PDT 2016


On 2016-09-02 23:03, Florian Fainelli wrote:
> 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='') \
I think you meant V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1)
Otherwise it results in V=V=1

- Felix



More information about the Lede-dev mailing list