aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-17 11:17:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-17 11:17:26 +0000
commitb086475e1e325a545a78ea5e136c4d97beb3445f (patch)
tree0fe96b42d4590998e2e37aa1cc6041cdb748bf94
parentd6c584651368d4d37c789a23dc54fb6056e56680 (diff)
downloadupstream-b086475e1e325a545a78ea5e136c4d97beb3445f.tar.gz
upstream-b086475e1e325a545a78ea5e136c4d97beb3445f.tar.bz2
upstream-b086475e1e325a545a78ea5e136c4d97beb3445f.zip
build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
SVN-Revision: 33445
-rw-r--r--include/host-build.mk2
-rw-r--r--include/package.mk2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 06f93a14ad..e011c15480 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -136,6 +136,8 @@ define Host/Exports/Default
endef
Host/Exports=$(Host/Exports/Default)
+.NOTPARALLEL:
+
ifndef DUMP
define HostBuild
$(if $(HOST_QUILT),$(Host/Quilt))
diff --git a/include/package.mk b/include/package.mk
index e93aebf67d..3ec5ffdadd 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -248,6 +248,8 @@ Build/Install=$(if $(PKG_INSTALL),$(call Build/Install/Default,))
Build/Dist=$(call Build/Dist/Default,)
Build/DistCheck=$(call Build/DistCheck/Default,)
+.NOTPARALLEL:
+
$(PACKAGE_DIR):
mkdir -p $@