From: Felix Fietkau Date: Wed, 22 Oct 2014 08:57:40 +0000 (+0000) Subject: build: use ONESHELL to speed up scanning and the toplevel makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4979908344bc5d49e6b8ebef003b3c32d6bd284;p=openwrt%2Fstaging%2Fmkresin.git build: use ONESHELL to speed up scanning and the toplevel makefile Signed-off-by: Felix Fietkau SVN-Revision: 43021 --- diff --git a/Makefile b/Makefile index 91b6946ac3..f75fc7fda4 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ empty:= space:= $(empty) $(empty) $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) +.ONESHELL: world: include $(TOPDIR)/include/host.mk diff --git a/include/scan.mk b/include/scan.mk index 0998333439..2f2753f2a0 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -78,3 +78,4 @@ $(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP) FORCE: .PHONY: FORCE .NOTPARALLEL: +.ONESHELL: diff --git a/include/target.mk b/include/target.mk index 3401f849a5..657109e75d 100644 --- a/include/target.mk +++ b/include/target.mk @@ -19,6 +19,7 @@ DEFAULT_PACKAGES.bootloader:= ifneq ($(DUMP),) all: dumpinfo + .ONESHELL: endif target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))