summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Büsch2010-10-29 15:07:23 +0000
committerMichael Büsch2010-10-29 15:07:23 +0000
commita2f1c6949cbda9e3f926d47bab50de1527de834c (patch)
tree80cbfa80b97def455c417b07d38c7e68314a5aee
parentc2dee4d3fc6e55b4544592b8e060064c416c7ddb (diff)
downloadarchive-a2f1c6949cbda9e3f926d47bab50de1527de834c.tar.gz
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
SVN-Revision: 23709
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 512e40186d..8ff0d70d1c 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -80,7 +80,7 @@ ifeq ($(DUMP),)
mkdir -p $(STAGING_DIR_ROOT)/stamp $(STAGING_DIR_ROOT)/tmp-$(1)
$(call Package/$(1)/install,$(STAGING_DIR_ROOT)/tmp-$(1))
$(call Package/$(1)/install_lib,$(STAGING_DIR_ROOT)/tmp-$(1))
- $(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/. $(STAGING_DIR_ROOT)/
+ $(call locked,$(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/. $(STAGING_DIR_ROOT)/,root-copy)
rm -rf $(STAGING_DIR_ROOT)/tmp-$(1)
touch $$@