mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-08 07:49:21 +01:00
build: use ONESHELL to speed up scanning and the toplevel makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
This commit is contained in:
parent
43f485f334
commit
c497990834
1
Makefile
1
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
|
||||
|
@ -78,3 +78,4 @@ $(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) $(SCAN_STAMP)
|
||||
FORCE:
|
||||
.PHONY: FORCE
|
||||
.NOTPARALLEL:
|
||||
.ONESHELL:
|
||||
|
@ -19,6 +19,7 @@ DEFAULT_PACKAGES.bootloader:=
|
||||
|
||||
ifneq ($(DUMP),)
|
||||
all: dumpinfo
|
||||
.ONESHELL:
|
||||
endif
|
||||
|
||||
target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
|
||||
|
Loading…
Reference in New Issue
Block a user