X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=f5a2593a105c5bd2cec238c81f33d9f096525fa6;hb=536f051b971c8b3aada21c35ca7deefb94e7dd74;hp=744695b19c9fc8f899f197392ebe2abb11ae6a76;hpb=a17b8eaa2e4b319b7069170398fe965786a813e9;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/include/toplevel.mk b/include/toplevel.mk index 744695b19c..f5a2593a10 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -4,7 +4,7 @@ PREP_MK= OPENWRT_BUILD= QUIET=0 -export IS_TTY=$(shell tty -s && echo 1 || echo 0) +export IS_TTY=$(if $(MAKE_TERMOUT),1,0) include $(TOPDIR)/include/verbose.mk @@ -258,7 +258,7 @@ help: cat README.md distclean: - rm -rf bin build_dir .ccache .config* dl feeds key-build* logs package/feeds package/openwrt-packages staging_dir tmp + rm -rf bin build_dir .ccache .config* dl feeds key-build* logs package/feeds staging_dir tmp @$(_SINGLE)$(SUBMAKE) -C scripts/config clean ifeq ($(findstring v,$(DEBUG)),)