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 | 9c13b4a0815fd778810db43421117dec7793a1d6 (patch) | |
tree | 005b45a7dd3b61a462a7f8f5425a3c80dd44d5e1 /include | |
parent | 8fe0500386f609f40e16d2e423a8ea0a853b97cd (diff) | |
download | upstream-9c13b4a0815fd778810db43421117dec7793a1d6.tar.gz upstream-9c13b4a0815fd778810db43421117dec7793a1d6.tar.bz2 upstream-9c13b4a0815fd778810db43421117dec7793a1d6.zip |
Allow colored output to be disabled when running a non-verbose build by
setting NO_COLOR=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19560 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 857be24a32..9fe27ced52 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) |