cleanup & revert [4159]
[openwrt.org/openwrt.git] / include / verbose.mk
blob:a/include/verbose.mk -> blob:b/include/verbose.mk
--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -6,11 +6,11 @@
 #
 # $Id:$
 
-NO_TRACE_MAKE:=$(MAKE) V=99
+export NO_TRACE_MAKE:=$(MAKE) V=99
 
 ifndef KBUILD_VERBOSE
   KBUILD_VERBOSE=0
-  ifdef V
+  ifeq ("$(origin V)", "command line")
     KBUILD_VERBOSE=$(V)
   endif
 endif
@@ -32,7 +32,5 @@
   endif
 
   .SILENT: $(MAKECMDGOALS)
-else
-   NO_TRACE_MAKE:=$(MAKE)
 endif
 

comments