From: Michael Büsch Date: Fri, 29 Oct 2010 15:07:23 +0000 (+0000) Subject: Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build. X-Git-Tag: reboot~18556 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70;p=openwrt%2Fstaging%2Fchunkeey.git Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build. SVN-Revision: 23709 --- 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 $$@