summaryrefslogtreecommitdiff
path: root/include/verbose.mk
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
commitcf10a1dd5ec950121617cf51b84d00374f86480f (patch)
treea46adfb7283ce958b4a76aeb30369fe34ac682af /include/verbose.mk
parent8838ffd68d915fc356836468e30e7a26f1f6150a (diff)
downloadmtk-20170518-cf10a1dd5ec950121617cf51b84d00374f86480f.zip
mtk-20170518-cf10a1dd5ec950121617cf51b84d00374f86480f.tar.gz
mtk-20170518-cf10a1dd5ec950121617cf51b84d00374f86480f.tar.bz2
another optimization
SVN-Revision: 5507
Diffstat (limited to 'include/verbose.mk')
-rw-r--r--include/verbose.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/verbose.mk b/include/verbose.mk
index 34568a3..b4242f2 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