build system: add support for download-time make hooks
[openwrt.git] / include / verbose.mk
index 857be24..9fe27ce 100644 (file)
@@ -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)
This page took 0.031959 seconds and 4 git commands to generate.