add some more verbosity stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2222 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2005-10-22 01:40:50 +00:00
parent 6d59cdfc48
commit 8a60ff2908
17 changed files with 157 additions and 86 deletions

View File

@@ -6,6 +6,7 @@ ifeq ($(V),)
V=99
endif
ifneq ($(V),0)
TRACE:=echo "---> "
else
@@ -20,7 +21,7 @@ endif
ifeq (${shell [ "$(V)" -ge 10 ] && echo 1},)
EXTRA_MAKEFLAGS:=-s
MAKE_TRACE:=>&/dev/null
MAKE_TRACE:=2>&1 >&/dev/null || { echo "Build failed. Please re-run make with V=99 to see what's going on"; /bin/false; }
else
MAKE_TRACE:=
EXTRA_MAKEFLAGS:=