diff options
-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 857be24a3..9fe27ced5 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) |