minor changes
authorMike Baker <mbm@openwrt.org>
Tue, 27 Jun 2006 23:52:30 +0000 (23:52 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 27 Jun 2006 23:52:30 +0000 (23:52 +0000)
SVN-Revision: 4096

openwrt/include/verbose.mk

index 98dfd5632b6292ded3459283c7a344f0fa149e6a..c998b3d1c9944740a996bf3b1bc5ebee269564f1 100644 (file)
@@ -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)