X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fb4d0a4ce7137bb95bf193b3c44ab5b7e86561bc..5e4f3f7961b85eec809c2c5e581876ab9bd94b71:/include/toplevel.mk diff --git a/include/toplevel.mk b/include/toplevel.mk index 3e3916534..793022365 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 @@ -34,7 +35,7 @@ prepare-mk: FORCE ; prepare-tmpinfo: FORCE mkdir -p tmp/info - +$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk" SCAN_DEPTH=4 SCAN_EXTRA="" + +$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk" SCAN_DEPTH=5 SCAN_EXTRA="" +$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="profiles/*.mk $(TOPDIR)/include/kernel*.mk" SCAN_DEPTH=2 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1" for type in package target; do \ f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \ @@ -52,6 +53,8 @@ prepare-tmpinfo: FORCE scripts/config/mconf: @+$(MAKE) -C scripts/config all +$(eval $(call rdep,scripts/config,scripts/config/mconf)) + scripts/config/conf: @+$(MAKE) -C scripts/config conf @@ -120,7 +123,7 @@ symlinkclean: rm -rf tmp distclean: - rm -rf tmp build_dir staging_dir dl .config* + rm -rf tmp build_dir staging_dir dl .config* feeds ifeq ($(findstring v,$(DEBUG)),) .SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig tmp/.prereq-build tmp/.prereq-package prepare-tmpinfo