diff options
Diffstat (limited to 'openwrt/rules.mk')
-rw-r--r-- | openwrt/rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk index e6118bf..fb963ab 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:= |