From: Felix Fietkau Date: Mon, 16 Jun 2008 21:57:57 +0000 (+0000) Subject: use file descriptors 8 and 9 for build system internal log messages, as apparently... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dea3f68b35fad2e4db74f7c184afd3d65a8e20ce;p=openwrt%2Fstaging%2Fnbd.git use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems SVN-Revision: 11515 --- diff --git a/include/verbose.mk b/include/verbose.mk index b414d24409..8b82cde7be 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -25,7 +25,7 @@ endif ifneq ($(KBUILD_VERBOSE),99) define MESSAGE - printf "$(_Y)%s$(_N)\n" "$(1)" >&254 + printf "$(_Y)%s$(_N)\n" "$(1)" >&8 endef ifeq ($(QUIET),1) @@ -45,7 +45,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; } } 254>&1 255>&2; cmd + 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 endif .SILENT: $(MAKECMDGOALS)