[openwrt/openwrt] uclibc++: make verbosity affect uClibc++ build

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 8 10:07:29 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9f020269332d50dba61f5bce5f1d055b683b059e

commit 9f020269332d50dba61f5bce5f1d055b683b059e
Author: Wren Turkal <wt at penguintechs.org>
AuthorDate: Mon May 25 14:05:51 2020 -0700

    uclibc++: make verbosity affect uClibc++ build
    
    Before this change, setting the verbosity to anything with V=blah would
    cause uclibc++ build to print errors to the screen. Now, it the
    clibc++ build verbosity will be altered in the following manners:
    * V=s will set V=1 in the uclibc++ build
    * V=sc will set V=2 in the uclibc++ build
    
    Signed-off-by: Wren Turkal <wt at penguintechs.org>
---
 package/libs/uclibc++/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/libs/uclibc++/Makefile b/package/libs/uclibc++/Makefile
index 7a0d9094ff..0e3210a5b9 100644
--- a/package/libs/uclibc++/Makefile
+++ b/package/libs/uclibc++/Makefile
@@ -55,6 +55,14 @@ ifeq ($(CONFIG_USE_MUSL),y)
 SSP_LIB=-lssp_nonshared
 endif
 
+ifeq (${V}, s)
+MAKE_VARS+= \
+	V=1
+else ifeq (${V}, sc)
+MAKE_VARS+= \
+	V=2
+endif
+
 MAKE_FLAGS:= \
 	$(TARGET_CONFIGURE_OPTS) \
 	CPU_CFLAGS="$(TARGET_CFLAGS)" \



More information about the lede-commits mailing list