X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fd8eb5df1ac4180570a915ec45b975e74ae12897..032de762b44791de7f35c3716046e441c4f2b1a1:/include/toplevel.mk diff --git a/include/toplevel.mk b/include/toplevel.mk index ba5cb3375..040ff5124 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -22,6 +22,7 @@ else endif endif export OPENWRTVERSION +export IS_TTY=$(shell tty -s && echo 1 || echo 0) ifeq ($(FORCE),) .config scripts/config/conf scripts/config/mconf: tmp/.prereq-build @@ -97,7 +98,7 @@ download: .config FORCE $(MAKE) -j1 package/download $(MAKE) -j1 target/download -clean dirclean: +clean dirclean: .config @$(MAKE) $@ prereq:: .config