From: Jo-Philipp Wich Date: Thu, 5 Feb 2015 16:57:09 +0000 (+0000) Subject: include: test build prereqs before preparing tempinfo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d3610773a1f0ffd1b36dc4101a88278ec8cfa162;p=openwrt%2Fstaging%2Fstintel.git include: test build prereqs before preparing tempinfo Signed-off-by: Jo-Philipp Wich SVN-Revision: 44270 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index f623e03118..23e832f2b4 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -66,6 +66,7 @@ ULIMIT_FIX=_limit=`ulimit -n`; [ "$$_limit" = "unlimited" -o "$$_limit" -ge 1024 prepare-mk: FORCE ; prepare-tmpinfo: FORCE + @+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK) mkdir -p tmp/info $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk $(TOPDIR)/overlay/*/*.mk" SCAN_DEPTH=5 SCAN_EXTRA="" $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="profiles/*.mk $(TOPDIR)/include/kernel*.mk $(TOPDIR)/include/target.mk" SCAN_DEPTH=2 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1" @@ -157,7 +158,6 @@ clean dirclean: .config @+$(SUBMAKE) -r $@ prereq:: prepare-tmpinfo .config - @+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK) @+$(NO_TRACE_MAKE) -r -s $@ ifeq ($(SDK),1)