From 55c1daea2cd5985214ec27adcf1bc650ab8e5c46 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 17 Sep 2012 11:17:26 +0000 Subject: 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 --- include/host-build.mk | 2 ++ include/package.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/host-build.mk b/include/host-build.mk index 06f93a14a..e011c1548 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 e93aebf67..3ec5ffdad 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 $@ -- cgit v1.2.3