Author: nbd
Date: 2014-10-22 10:57:40 +0200 (Wed, 22 Oct 2014)
New Revision: 43021

Modified:
   trunk/Makefile
   trunk/include/scan.mk
   trunk/include/target.mk
Log:
build: use ONESHELL to speed up scanning and the toplevel makefile

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

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2014-10-22 08:57:30 UTC (rev 43020)
+++ trunk/Makefile      2014-10-22 08:57:40 UTC (rev 43021)
@@ -15,6 +15,7 @@
 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

Modified: trunk/include/scan.mk
===================================================================
--- trunk/include/scan.mk       2014-10-22 08:57:30 UTC (rev 43020)
+++ trunk/include/scan.mk       2014-10-22 08:57:40 UTC (rev 43021)
@@ -78,3 +78,4 @@
 FORCE:
 .PHONY: FORCE
 .NOTPARALLEL:
+.ONESHELL:

Modified: trunk/include/target.mk
===================================================================
--- trunk/include/target.mk     2014-10-22 08:57:30 UTC (rev 43020)
+++ trunk/include/target.mk     2014-10-22 08:57:40 UTC (rev 43021)
@@ -19,6 +19,7 @@
 
 ifneq ($(DUMP),)
   all: dumpinfo
+  .ONESHELL:
 endif
 
 target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to