summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-22 08:57:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-22 08:57:40 +0000
commitc4979908344bc5d49e6b8ebef003b3c32d6bd284 (patch)
treebd0c3bb9de5cb2ad0cd6f10422188e036d6d6343 /include
parent43f485f334ce60bb1bacffa11795100475e92ec4 (diff)
downloadmtk-20170518-c4979908344bc5d49e6b8ebef003b3c32d6bd284.zip
mtk-20170518-c4979908344bc5d49e6b8ebef003b3c32d6bd284.tar.gz
mtk-20170518-c4979908344bc5d49e6b8ebef003b3c32d6bd284.tar.bz2
build: use ONESHELL to speed up scanning and the toplevel makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
Diffstat (limited to 'include')
-rw-r--r--include/scan.mk1
-rw-r--r--include/target.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 0998333..2f2753f 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 3401f84..657109e 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))))