diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-08 22:28:19 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-08 22:28:19 +0000 |
commit | 6f3db147b68d6cb6557f6857b90bf6c67afbcf1f (patch) | |
tree | 3059c5dad4ece6535672969d7afdfd832284ef7f /include | |
parent | 4e0cd7b7a1eb77143871f09f0039409c3403d005 (diff) | |
download | mtk-20170518-6f3db147b68d6cb6557f6857b90bf6c67afbcf1f.zip mtk-20170518-6f3db147b68d6cb6557f6857b90bf6c67afbcf1f.tar.gz mtk-20170518-6f3db147b68d6cb6557f6857b90bf6c67afbcf1f.tar.bz2 |
Allow colored output to be disabled when running a non-verbose build by setting NO_COLOR=1
SVN-Revision: 19560
Diffstat (limited to 'include')
-rw-r--r-- | include/verbose.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/verbose.mk b/include/verbose.mk index 857be24..9fe27ce 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -18,8 +18,10 @@ ifeq ("$(origin V)", "command line") endif ifeq ($(IS_TTY),1) - _Y:=\\033[33m - _N:=\\033[m + ifneq ($(strip $(NO_COLOR)),1) + _Y:=\\033[33m + _N:=\\033[m + endif endif ifneq ($(KBUILD_VERBOSE),99) |