summaryrefslogtreecommitdiffstats
path: root/src/build/Makefile
diff options
context:
space:
mode:
authorSunil Kumar <skumar8j@gfw171.aus.stglabs.ibm.com>2017-04-13 12:33:53 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-07-07 03:44:21 -0400
commitbed2ff6802182156ce5346102cc6ad9ef9664a52 (patch)
treeea0579dbcc28ea9d1bc27b0c6861ad760127c2c4 /src/build/Makefile
parent8a0b1daa3a809ae0d0a5c46d6bdd68a88426433f (diff)
downloadtalos-sbe-bed2ff6802182156ce5346102cc6ad9ef9664a52.tar.gz
talos-sbe-bed2ff6802182156ce5346102cc6ad9ef9664a52.zip
Sbe Compression Decompression
Change-Id: I8eb691ba7b28a4c7347040d3da5c16c01d5b9697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39225 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/build/Makefile')
-rw-r--r--src/build/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/build/Makefile b/src/build/Makefile
index f87c3aae..d798fab2 100644
--- a/src/build/Makefile
+++ b/src/build/Makefile
@@ -169,7 +169,7 @@ all: $(OBJDIR) xml \
endif
ifeq ($(img), seeprom)
all: $(OBJDIR) xml $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin \
- $(SBE_TOOLS) $(SBE_IPL_TOOLS) normalize defaultset $(IMG_DIR)/fixed.bin \
+ $(SBE_TOOLS) $(SBE_IPL_TOOLS) normalize compress defaultset $(IMG_DIR)/fixed.bin \
appendloader appendoverrides add_LoaderAddr symbols tracehash buildinfo \
report
endif
@@ -192,7 +192,7 @@ tar:
@rm -rf $(TAR_OBJDIR)
@echo "Generated simics.tar in Sbe images Directory"
-.PHONY: all normalize defaultset appendloader add_LoaderAddr symbols report \
+.PHONY: all normalize compress defaultset appendloader add_LoaderAddr symbols report \
appendoverrides xml tracehash topfixedheaders $(SUBDIRS) \
tar install
@@ -279,6 +279,9 @@ $(P9_XIP_TOOL):
normalize: $(P9_XIP_TOOL) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin
$(P9_XIP_TOOL) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin normalize
+compress:
+ $(BOOT_SRCDIR)/sbeCompression.py -l $(IMG_DIR) -i $(IMAGE_SEEPROM_NAME).bin
+
defaultset:$(SBE_TOOLS) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin normalize
$(TOOLS_ATTR_DIR)/ppeSetFixed.pl $(IMG_DIR) $(IMG_DIR)/$(IMAGE_SEEPROM_NAME).bin $(IMPORT_XML_DIR)/attribute_info/p9_sbe_attributes.xml $(ATTRFILES)
OpenPOWER on IntegriCloud