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 4abdf8d661fa6f137111992348999d2e6e0a3d2f..620dbbd0f9f6c525766ff5cde4540920d2184d3c 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