Skip to content
Snippets Groups Projects
Commit c4979908 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 43021
parent 43f485f3
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ empty:= ...@@ -15,6 +15,7 @@ empty:=
space:= $(empty) $(empty) space:= $(empty) $(empty)
$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces))
.ONESHELL:
world: world:
include $(TOPDIR)/include/host.mk include $(TOPDIR)/include/host.mk
......
...@@ -78,3 +78,4 @@ $(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP) ...@@ -78,3 +78,4 @@ $(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP)
FORCE: FORCE:
.PHONY: FORCE .PHONY: FORCE
.NOTPARALLEL: .NOTPARALLEL:
.ONESHELL:
...@@ -19,6 +19,7 @@ DEFAULT_PACKAGES.bootloader:= ...@@ -19,6 +19,7 @@ DEFAULT_PACKAGES.bootloader:=
ifneq ($(DUMP),) ifneq ($(DUMP),)
all: dumpinfo all: dumpinfo
.ONESHELL:
endif endif
target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1)))) target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment