minor changes
minor changes


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4096 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -27,7 +27,7 @@
     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)

comments