瀏覽代碼

build: use ONESHELL to speed up scanning and the toplevel makefile

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 43021
Felix Fietkau 11 年之前
父節點
當前提交
c497990834
共有 3 個文件被更改,包括 3 次插入0 次删除
  1. 1 0
      Makefile
  2. 1 0
      include/scan.mk
  3. 1 0
      include/target.mk

+ 1 - 0
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

+ 1 - 0
include/scan.mk

@@ -78,3 +78,4 @@ $(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP)
 FORCE:
 .PHONY: FORCE
 .NOTPARALLEL:
+.ONESHELL:

+ 1 - 0
include/target.mk

@@ -19,6 +19,7 @@ DEFAULT_PACKAGES.bootloader:=
 
 ifneq ($(DUMP),)
   all: dumpinfo
+  .ONESHELL:
 endif
 
 target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))