From 3f92b561d721a3fabfe0138f31707d522ec10392 Mon Sep 17 00:00:00 2001 From: kswaroop Date: Thu, 11 Apr 2019 05:00:37 -0500 Subject: Fix for race condition while copying "p9_xip_tool" Change-Id: Ia204d6e0e35f862db02210907e3f1819850cc930 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75868 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: RAJA DAS --- src/build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build/Makefile') diff --git a/src/build/Makefile b/src/build/Makefile index 49dcb115..ea5d620d 100644 --- a/src/build/Makefile +++ b/src/build/Makefile @@ -210,6 +210,7 @@ add_LoaderAddr: endif tar: + @cp -f $(P9_XIP_TOOL) $(IMG_DIR)/ @cp $(IMG_DIR)/$(SBE_STRINGFILE_NAME) $(IMG_DIR)/sbeStringFile || true @echo "Installing simics.tar" @rm -rf $(TAR_OBJDIR) @@ -304,13 +305,12 @@ $(SBE_IPL_TOOLS): $(P9_XIP_TOOL) .NOTPARALLEL: $(P9_XIP_TOOL) $(P9_XIP_TOOL): $(MAKE) -I $(P9_XIP_SRCDIR) -C $(P9_XIP_SRCDIR) -f Makefile BINDIR=$(P9_XIP_BINDIR) CXX_FLAGS=-D__PPE__=1 - cp -f $(P9_XIP_TOOL) $(IMG_DIR)/ normalize: $(P9_XIP_TOOL) $(IMG_DIR)/$(IMAGE_NAME).bin normalize compress: $(IMG_DIR)/$(IMAGE_NAME).bin - $(BOOT_SRCDIR)/sbeCompression.py -l $(IMG_DIR) -i $(IMAGE_NAME).bin + $(BOOT_SRCDIR)/sbeCompression.py -l $(IMG_DIR) -i $(IMAGE_NAME).bin -p $(P9_XIP_TOOL) defaultset: $(TOOLS_ATTR_DIR)/ppeSetFixed.pl $(IMG_DIR) $(IMG_DIR)/$(IMAGE_NAME).bin $(IMPORT_XML_DIR)/attribute_info/p9_sbe_attributes.xml $(ATTRFILES) -- cgit v1.2.1