From de94a93b4b63b2f8f9b1b058b7f7eed6cad1adf6 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 22 Jul 2006 12:16:26 +0000
Subject: [PATCH] fix NO_TRACE_MAKE

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4205 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 include/verbose.mk | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/include/verbose.mk b/include/verbose.mk
index 7d9b3979b..525fbf1c1 100644
--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -6,13 +6,16 @@
 #
 # $Id:$
 
-export 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)
-- 
2.20.1