summaryrefslogtreecommitdiffstats
path: root/makefile
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 /makefile
parent5799315afe7246ffb3609819cb27224e6e91c378 (diff)
downloadtalos-hostboot-c291a4a8283d4f098d0c442f138279a226c9fcc4.zip
talos-hostboot-c291a4a8283d4f098d0c442f138279a226c9fcc4.tar.gz
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 'makefile')
-rw-r--r--makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/makefile b/makefile
index 4619e6d..e6e974a 100644
--- a/makefile
+++ b/makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2010,2016
+# Contributors Listed Below - COPYRIGHT 2010,2017
# [+] International Business Machines Corp.
#
#
@@ -35,6 +35,9 @@ SKIP_CONFIG_FILE_LOAD = 1
IMAGE_PASS_POST += $(GENDIR)/hwp_id.html
CLEAN_TARGETS += $(GENDIR)/hwp_id.html
+# Name of file to indicate if hostboot is building an fsp release.
+HB_FSP_RELEASE = $(GENDIR)/hb_fsp_release
+
ifndef BUILD_MINIMAL
IMAGE_PASS_POST += cscope ctags
endif
@@ -69,6 +72,7 @@ check_istep_modules: $(OBJS)
GENCONFIG_TOOL = src/build/tools/hbGenConfig
+# At end of rule, create HB_FSP_RELEASE file if compiling with fsprelease.config
$(GENDIR)/.$(notdir $(CONFIG_FILE)).config: \
$(shell find -name HBconfig) \
$(filter-out $(GENDIR)/.$(notdir $(CONFIG_FILE)).config,\
@@ -82,3 +86,7 @@ $(GENDIR)/.$(notdir $(CONFIG_FILE)).config: \
$(wildcard $(GENDIR)/.*.config),$^)
@rm -f $(wildcard $(GENDIR)/.*.config)
@touch $@
+ @rm -f $(HB_FSP_RELEASE)
+ ifneq (,$(findstring fsprelease.config, $(strip $(CONFIG_FILE))))
+ @touch $(HB_FSP_RELEASE)
+ endif
OpenPOWER on IntegriCloud