include/verbose.mk: Add sc to failure message
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Tue, 24 Jul 2018 09:09:17 +0000 (11:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 09:15:53 +0000 (10:15 +0100)
Add sc to build error message

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from 0aaa65075508035bdf6c8fc8fa9a79b94dc5eadc)

include/verbose.mk

index e02aefe8dda2407da361daeb550922bdde36c96f..d26008019543e3635eb630ed741583bbef9d9312 100644 (file)
@@ -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)