fix KBUILD_VERBOSE if V is unset
fix KBUILD_VERBOSE if V is unset

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4160 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -9,7 +9,10 @@
 NO_TRACE_MAKE:=$(MAKE) V=99
 
 ifndef KBUILD_VERBOSE
-  KBUILD_VERBOSE=$(V)
+  KBUILD_VERBOSE=0
+  ifdef V
+    KBUILD_VERBOSE=$(V)
+  endif
 endif
 
 ifneq ($(KBUILD_VERBOSE),99)

comments