From: nbd 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.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=b5d642daec01e3a0cff1cbd6c1d20b1befdecc09 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11515 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/verbose.mk b/include/verbose.mk index b414d2440..8b82cde7b 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)