parent
8838ffd68d
commit
cf10a1dd5e
7
Makefile
7
Makefile
|
@ -21,10 +21,15 @@ SHELL:=/usr/bin/env bash
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
export LANG=C
|
export LANG=C
|
||||||
export TOPDIR=${shell pwd}
|
export TOPDIR=${shell pwd}
|
||||||
include $(TOPDIR)/include/verbose.mk
|
|
||||||
ifeq ($(KBUILD_VERBOSE),99)
|
ifeq ($(KBUILD_VERBOSE),99)
|
||||||
MAKE:=3>/dev/null $(MAKE)
|
MAKE:=3>/dev/null $(MAKE)
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(shell tty -s <&3 || echo x),x)
|
||||||
|
IS_TTY=1
|
||||||
|
export IS_TTY
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(TOPDIR)/include/verbose.mk
|
||||||
|
|
||||||
OPENWRTVERSION:=$(RELEASE)
|
OPENWRTVERSION:=$(RELEASE)
|
||||||
ifneq ($(VERSION),)
|
ifneq ($(VERSION),)
|
||||||
|
|
|
@ -18,7 +18,7 @@ ifeq ("$(origin V)", "command line")
|
||||||
KBUILD_VERBOSE:=$(V)
|
KBUILD_VERBOSE:=$(V)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(shell tty -s <&3 || echo x),x)
|
ifeq ($(IS_TTY),1)
|
||||||
_Y:="\\33[33m"# yellow
|
_Y:="\\33[33m"# yellow
|
||||||
_N:="\\33[m"# normal
|
_N:="\\33[m"# normal
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue