openpower-pnor-p10: Create tarbal for mmc images
At the end of the openpower-pnor-p10 install phase, we should have a
mmc.tar.gz under $(BINARIES_DIR) containing all the images generated
under mmc/
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
diff --git a/openpower/package/openpower-pnor-p10/openpower-pnor-p10.mk b/openpower/package/openpower-pnor-p10/openpower-pnor-p10.mk
index bae465d..445f9e5 100644
--- a/openpower/package/openpower-pnor-p10/openpower-pnor-p10.mk
+++ b/openpower/package/openpower-pnor-p10/openpower-pnor-p10.mk
@@ -351,6 +351,9 @@
$(call OPENPOWER_PNOR_P10_UPDATE_IMAGE,\
$(xmlpkg)))
+ # Create MMC Tarball
+ tar -zcvf $(BINARIES_DIR)/mmc.tar.gz -C $(BINARIES_DIR) mmc
+
# Create Debug Tarball (target-agnostic)
mkdir -p $(STAGING_DIR)/pnor/host_fw_debug_tarball_files/
cp -r $(STAGING_DIR)/hostboot_build_images/* \