aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/verbose.mk6
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)