add shell compatibility patch from #2659
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Nov 2007 21:58:18 +0000 (21:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 30 Nov 2007 21:58:18 +0000 (21:58 +0000)
SVN-Revision: 9643

include/verbose.mk

index 4abdf8d..620dbbd 100644 (file)
@@ -41,7 +41,7 @@ ifneq ($(KBUILD_VERBOSE),99)
     ))
   else
     ifeq ($(KBUILD_VERBOSE),0)
-      MAKE:=&>/dev/null $(MAKE)
+      MAKE:=>/dev/null 2>&1 $(MAKE)
     endif
     export QUIET:=1
     MAKE:=cmd() { $(MAKE) -s $$* || {  echo "make $$*: build failed. Please re-run make with V=99 to see what's going on"; false; } } 3>&1 4>&2; cmd