another optimization
[openwrt.git] / Makefile
index d6b1b7d..62a0338 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,15 @@ SHELL:=/usr/bin/env bash
 export LC_ALL=C
 export LANG=C
 export TOPDIR=${shell pwd}
-include $(TOPDIR)/include/verbose.mk
 ifeq ($(KBUILD_VERBOSE),99)
   MAKE:=3>/dev/null $(MAKE)
 endif
+ifneq ($(shell tty -s <&3 || echo x),x)
+  IS_TTY=1
+  export IS_TTY
+endif
+
+include $(TOPDIR)/include/verbose.mk
 
 OPENWRTVERSION:=$(RELEASE)
 ifneq ($(VERSION),)
This page took 0.024748 seconds and 4 git commands to generate.