X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fverbose.mk;h=525fbf1c157178e6d4e2c4c39fa0a93222e31bba;hp=da2a21974adde6c53f781ef02403b06243021d7c;hb=001227b7800328fe3db15d62e0948d25dfa596f6;hpb=2b9c94e12d0b9aaffc59914fe951fccb269cbb1c diff --git a/include/verbose.mk b/include/verbose.mk index da2a21974a..525fbf1c15 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -6,13 +6,16 @@ # # $Id:$ -NO_TRACE_MAKE:=$(MAKE) V=99 +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) @@ -32,6 +35,4 @@ ifneq ($(KBUILD_VERBOSE),99) endif .SILENT: $(MAKECMDGOALS) -else - NO_TRACE_MAKE:=$(MAKE) endif