From: Daniel Engberg Date: Tue, 24 Jul 2018 09:09:17 +0000 (+0200) Subject: include/verbose.mk: Add sc to failure message X-Git-Tag: v18.06.2~196 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1b086bf0fe429dad6a97ac08240e83450566720;p=openwrt%2Fopenwrt.git include/verbose.mk: Add sc to failure message Add sc to build error message Signed-off-by: Daniel Engberg (backported from 0aaa65075508035bdf6c8fc8fa9a79b94dc5eadc) --- diff --git a/include/verbose.mk b/include/verbose.mk index e02aefe8dd..d260080195 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -54,7 +54,7 @@ ifeq ($(findstring s,$(OPENWRT_VERBOSE)),) else SILENT:=>/dev/null $(if $(findstring w,$(OPENWRT_VERBOSE)),,2>&1) export QUIET:=1 - SUBMAKE=cmd() { $(SILENT) $(MAKE) -s "$$@" < /dev/null || { echo "make $$*: build failed. Please re-run make with -j1 V=s to see what's going on"; false; } } 8>&1 9>&2; cmd + SUBMAKE=cmd() { $(SILENT) $(MAKE) -s "$$@" < /dev/null || { echo "make $$*: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on"; false; } } 8>&1 9>&2; cmd endif .SILENT: $(MAKECMDGOALS)