summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/verbose.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/verbose.mk b/include/verbose.mk
index 98dfd5632b..c998b3d1c9 100644
--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -27,7 +27,7 @@ ifneq ($(KBUILD_VERBOSE),99)
ifeq ($(KBUILD_VERBOSE),0)
MAKE:=&>/dev/null $(MAKE)
endif
- MAKE:=3>&1 4>&2 $(MAKE)
+ MAKE:=cmd() { $(MAKE) $$* || { echo "Build failed. Please re-run make with V=99 to see what's going on"; /bin/false; } } 3>&1 4>&2; cmd
endif
.SILENT: $(MAKECMDGOALS)