diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |