summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-17 11:17:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-17 11:17:26 +0000
commit55c1daea2cd5985214ec27adcf1bc650ab8e5c46 (patch)
tree4cd1192966486c23577d2fc948b6ec7546d03add
parent1470e3d58c3f2ee1c39894d0b9dc29ea6577d7c8 (diff)
build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33445 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 $@