Hostboot FW SubSystem Version Support
Provide the ability to seed the Hostboot images with the OP Build long and short
version of the FW Images which are included in the Hostboot binaries to correctly
identify the image being used (even post Concurrent Update at Hostboot Runtime).
Signed-off-by: Deb McLemore <debmc@linux.ibm.com>
diff --git a/openpower/package/hostboot-p10/hostboot-p10.mk b/openpower/package/hostboot-p10/hostboot-p10.mk
index 2bbc8ef..35cad03 100644
--- a/openpower/package/hostboot-p10/hostboot-p10.mk
+++ b/openpower/package/hostboot-p10/hostboot-p10.mk
@@ -17,7 +17,9 @@
HOSTBOOT_P10_ENV_VARS=$(TARGET_MAKE_ENV) PERL_USE_UNSAFE_INC=1 \
CONFIG_FILE=$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/hostboot/$(BR2_HOSTBOOT_P10_CONFIG_FILE) \
OPENPOWER_BUILD=1 CROSS_PREFIX="$(CCACHE) $(TARGET_CROSS)" HOST_PREFIX="" HOST_BINUTILS_DIR=$(HOST_BINUTILS_DIR) \
- HOSTBOOT_VERSION=`cat $(HOSTBOOT_P10_VERSION_FILE)`
+ HOSTBOOT_VERSION=`cat $(HOSTBOOT_P10_VERSION_FILE)` \
+ HOSTBOOT_FW_VERSION_SHORT=`cat $(HOSTBOOT_P10_FW_VERSION_SHORT_FILE)` \
+ HOSTBOOT_FW_VERSION_LONG=`cat $(HOSTBOOT_P10_FW_VERSION_LONG_FILE)`
FSP_TRACE_IMAGES_DIR = $(STAGING_DIR)/fsp-trace/