X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=Makefile;h=e5e1f6fd3110cd1c7eddde05af84b6da2b9be223;hp=4947cbf954e45c5f6b222eddd1fc706d36d4f41f;hb=7e3c65163fa028248cabbe3479a7f3eaa2338985;hpb=6e55c9439f1a8bf290ea1f73eea2f8a7f3b9a26e diff --git a/Makefile b/Makefile index 4947cbf954..e5e1f6fd31 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,12 @@ 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 +export IS_TTY=$(shell tty -s && echo 1 || echo 0) + +include $(TOPDIR)/include/verbose.mk OPENWRTVERSION:=$(RELEASE) ifneq ($(VERSION),) @@ -38,11 +40,11 @@ endif export OPENWRTVERSION ifneq ($(shell ./scripts/timestamp.pl -p tmp/.pkginfo package scripts Makefile),tmp/.pkginfo) - tmp/.pkginfo: tmpinfo-clean + tmp/.pkginfo: FORCE endif ifneq ($(shell ./scripts/timestamp.pl -p tmp/.targetinfo target/linux scripts Makefile),tmp/.targetinfo) - tmp/.targetinfo: tmpinfo-clean + tmp/.targetinfo: FORCE endif ifeq ($(FORCE),)