summaryrefslogtreecommitdiffstats
path: root/src/build/tools/hbDistribute
diff options
context:
space:
mode:
authorStephen M. Cprek <smcprek@us.ibm.com>2017-04-12 10:32:24 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-25 13:57:24 -0400
commitc291a4a8283d4f098d0c442f138279a226c9fcc4 (patch)
treeea77bed1ac2c67eec94d503f6fbe678d26c96cdc /src/build/tools/hbDistribute
parent5799315afe7246ffb3609819cb27224e6e91c378 (diff)
downloadtalos-hostboot-c291a4a8283d4f098d0c442f138279a226c9fcc4.tar.gz
talos-hostboot-c291a4a8283d4f098d0c442f138279a226c9fcc4.zip
Fix for Add header and verify Hostboot Bootloader for sbe update
Also enable the use of the FSP specific pnor layout. CMVC-prereq:1021911 Change-Id: If346c59537928d12af1dfbd085b2a492398cbf27 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39159 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/tools/hbDistribute')
-rwxr-xr-xsrc/build/tools/hbDistribute11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/build/tools/hbDistribute b/src/build/tools/hbDistribute
index 0bc53ddb5..003905e93 100755
--- a/src/build/tools/hbDistribute
+++ b/src/build/tools/hbDistribute
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2012,2016
+# Contributors Listed Below - COPYRIGHT 2012,2017
# [+] International Business Machines Corp.
#
#
@@ -190,6 +190,15 @@ else
exit -1
fi
+# Dynamically check if file exists indicating the fsprelease.config was used
+# Note this file is generated in the hb config file rule in top level makefile
+if [[ -f ${PROJECT_ROOT}/obj/genfiles/hb_fsp_release ]]; then
+ echo "FSP build, using fsp pnor xml layout"
+else
+ echo "Non FSP build, using default pnor xml layout"
+ export DEFAULT_PNOR=1
+fi
+
# Execute makefile for distribution.
mkdir -p $TARGET_DIR
mkdir -p $SBFW_DIR
OpenPOWER on IntegriCloud