disable stdin unless make V=99; fixes bug where compilation can stall waiting for...
authorMike Baker <mbm@openwrt.org>
Thu, 4 Feb 2010 04:43:17 +0000 (04:43 +0000)
committerMike Baker <mbm@openwrt.org>
Thu, 4 Feb 2010 04:43:17 +0000 (04:43 +0000)
SVN-Revision: 19511

include/verbose.mk

index f795e28..857be24 100644 (file)
@@ -44,7 +44,7 @@ ifneq ($(KBUILD_VERBOSE),99)
       SILENT:=
     endif
     export QUIET:=1
-    SUBMAKE=cmd() { $(SILENT) $(MAKE) -s $$* || { echo "make $$*: build failed. Please re-run make with V=99 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 V=99 to see what's going on"; false; } } 8>&1 9>&2; cmd
   endif
 
   .SILENT: $(MAKECMDGOALS)