aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-12 01:55:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-12 01:55:28 +0000
commit39968194002433a9e0313e4189585f31abeacaf7 (patch)
tree9c245e5990a829b3c87a13a609cec2142fd3439b /include
parente97c3c74fb20530196e220a3670a21c3c7c0c049 (diff)
downloadupstream-39968194002433a9e0313e4189585f31abeacaf7.tar.gz
upstream-39968194002433a9e0313e4189585f31abeacaf7.tar.bz2
upstream-39968194002433a9e0313e4189585f31abeacaf7.zip
another optimization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5507 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/verbose.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/verbose.mk b/include/verbose.mk
index 34568a31f8..b4242f212a 100644
--- a/include/verbose.mk
+++ b/include/verbose.mk
@@ -18,7 +18,7 @@ ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE:=$(V)
endif
-ifneq ($(shell tty -s <&3 || echo x),x)
+ifeq ($(IS_TTY),1)
_Y:="\\33[33m"# yellow
_N:="\\33[m"# normal
endif