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-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a2f1c6949cbda9e3f926d47bab50de1527de834c;p=openwrt%2Fsvn-archive%2Farchive.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 $$@