X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bc1c3a84e0db1f99afcff8d95d961cd3877a79a3..31d94a76a79ef8c973fb75ee17713593bfb7ebbd:/include/verbose.mk diff --git a/include/verbose.mk b/include/verbose.mk index c998b3d1c..525fbf1c1 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -6,11 +6,16 @@ # # $Id:$ +ifeq ($(NO_TRACE_MAKE),) +NO_TRACE_MAKE := $(MAKE) V=99 +export NO_TRACE_MAKE +endif + ifndef KBUILD_VERBOSE - KBUILD_VERBOSE=0 - ifeq ("$(origin V)", "command line") - KBUILD_VERBOSE=$(V) - endif + KBUILD_VERBOSE:=0 +endif +ifeq ("$(origin V)", "command line") + KBUILD_VERBOSE:=$(V) endif ifneq ($(KBUILD_VERBOSE),99) @@ -23,7 +28,6 @@ ifneq ($(KBUILD_VERBOSE),99) } else export QUIET:=1 - NO_TRACE_MAKE:=$(MAKE) V=99 ifeq ($(KBUILD_VERBOSE),0) MAKE:=&>/dev/null $(MAKE) endif