Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.

SVN-Revision: 23709
This commit is contained in:
Michael Büsch 2010-10-29 15:07:23 +00:00
parent e396e33ad2
commit 9d61a9b1c6
1 changed files with 1 additions and 1 deletions

View File

@ -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 $$@