summaryrefslogtreecommitdiff
path: root/openwrt/rules.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 01:40:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 01:40:50 +0000
commit25768f1c4d22195764ef1e818d25d2b14f95bb97 (patch)
tree2a9e4e72bd37b0af8c11076de92ac3edcb2ec3ce /openwrt/rules.mk
parentc65955aa6a15b044fcdb98b09544536a57a6692c (diff)
add some more verbosity stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2222 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/rules.mk')
-rw-r--r--openwrt/rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index e6118bfb64..fb963aba26 100644
--- a/openwrt/rules.mk
+++ b/openwrt/rules.mk
@@ -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:=