1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

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
This commit is contained in:
nbd 2008-06-16 21:57:57 +00:00
parent 40a8294182
commit b5d642daec

View File

@ -25,7 +25,7 @@ endif
ifneq ($(KBUILD_VERBOSE),99) ifneq ($(KBUILD_VERBOSE),99)
define MESSAGE define MESSAGE
printf "$(_Y)%s$(_N)\n" "$(1)" >&254 printf "$(_Y)%s$(_N)\n" "$(1)" >&8
endef endef
ifeq ($(QUIET),1) ifeq ($(QUIET),1)
@ -45,7 +45,7 @@ ifneq ($(KBUILD_VERBOSE),99)
SILENT:= SILENT:=
endif endif
export QUIET:=1 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 endif
.SILENT: $(MAKECMDGOALS) .SILENT: $(MAKECMDGOALS)