1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-04 23:22:22 +03:00

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
This commit is contained in:
lars 2010-02-08 22:28:19 +00:00
parent 6514a31be8
commit 1d010919f0

View File

@ -18,9 +18,11 @@ ifeq ("$(origin V)", "command line")
endif endif
ifeq ($(IS_TTY),1) ifeq ($(IS_TTY),1)
ifneq ($(strip $(NO_COLOR)),1)
_Y:=\\033[33m _Y:=\\033[33m
_N:=\\033[m _N:=\\033[m
endif endif
endif
ifneq ($(KBUILD_VERBOSE),99) ifneq ($(KBUILD_VERBOSE),99)
define MESSAGE define MESSAGE