summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-10-29 15:07:23 +0000
committerMichael Büsch <mb@bu3sch.de>2010-10-29 15:07:23 +0000
commit9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70 (patch)
tree44daaba432b513e5d8908ba59cfb348b7479966c /include
parente396e33ad2ea10633c42ec4c580770cb92148dbc (diff)
downloadmtk-20170518-9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70.zip
mtk-20170518-9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70.tar.gz
mtk-20170518-9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70.tar.bz2
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
SVN-Revision: 23709
Diffstat (limited to 'include')
-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 512e401..8ff0d70 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 $$@