diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2014-11-10 17:12:56 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-01 15:43:28 -0600 |
commit | 21fcb80bae184cc5a219fbcdec1c2b3ce4c6be3f (patch) | |
tree | 9d5ea960cc28614e57b646b823a1d823d4d15161 /src/usr/diag/prdf/prdf_hb_only.mk | |
parent | ae5a0adb5f8350e95d274947233f57e79cc0385c (diff) | |
download | talos-hostboot-21fcb80bae184cc5a219fbcdec1c2b3ce4c6be3f.tar.gz talos-hostboot-21fcb80bae184cc5a219fbcdec1c2b3ce4c6be3f.zip |
PRD: split Hostboot IPL code in prdfMain
Change-Id: Ia18bb1d7d332cfad13a3cab143b7f92d4fc22173
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14474
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14574
Diffstat (limited to 'src/usr/diag/prdf/prdf_hb_only.mk')
-rw-r--r-- | src/usr/diag/prdf/prdf_hb_only.mk | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/prdf_hb_only.mk b/src/usr/diag/prdf/prdf_hb_only.mk new file mode 100644 index 000000000..328611822 --- /dev/null +++ b/src/usr/diag/prdf/prdf_hb_only.mk @@ -0,0 +1,138 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/diag/prdf/prdf_hb_only.mk $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 2013,2014 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# IBM_PROLOG_END_TAG + +# NOTE: ROOTPATH must be defined before including this file and both +# PRD_SRC_PATH and PRD_INC_PATH must be defined in this file. + +PRD_SRC_PATH = ${ROOTPATH}/src/usr/diag/prdf +PRD_INC_PATH = ${ROOTPATH}/src/include/usr/diag/prdf + +################################################################################ +# Paths common to both IPL and runtime +################################################################################ + +prd_vpath += ${PRD_SRC_PATH} +prd_vpath += ${PRD_SRC_PATH}/framework/config +prd_vpath += ${PRD_SRC_PATH}/framework/resolution +prd_vpath += ${PRD_SRC_PATH}/framework/service +prd_vpath += ${PRD_SRC_PATH}/mnfgtools +prd_vpath += ${PRD_SRC_PATH}/plat +prd_vpath += ${PRD_SRC_PATH}/plat/pegasus + +# Internal PRD header paths +prd_incpath += ${PRD_INC_PATH} # Stored differently in FSP +prd_incpath += ${PRD_INC_PATH}/common # Stored differently in FSP +prd_incpath += ${PRD_SRC_PATH} +prd_incpath += ${PRD_SRC_PATH}/framework/config +prd_incpath += ${PRD_SRC_PATH}/framework/resolution +prd_incpath += ${PRD_SRC_PATH}/framework/service +prd_incpath += ${PRD_SRC_PATH}/mnfgtools +prd_incpath += ${PRD_SRC_PATH}/plat/pegasus + +# External header paths +prd_incpath += ${ROOTPATH}/src/include/usr/ecmddatabuffer +prd_incpath += ${ROOTPATH}/src/include/usr/errl +prd_incpath += ${ROOTPATH}/src/include/usr/hwpf/fapi +prd_incpath += ${ROOTPATH}/src/include/usr/hwpf/hwp +prd_incpath += ${ROOTPATH}/src/include/usr/hwpf/plat +prd_incpath += ${ROOTPATH}/src/include/usr/ibscom +prd_incpath += ${ROOTPATH}/src/include/usr/util +prd_incpath += ${ROOTPATH}/src/usr/hwpf/hwp/bus_training +prd_incpath += ${ROOTPATH}/src/usr/hwpf/hwp/include +prd_incpath += ${ROOTPATH}/src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete + +################################################################################ +# Hostboot only object files common to both IPL and runtime +################################################################################ + +# ./ +prd_obj += prdfMain.o + +# framework/config/ +prd_obj += prdfMbaDomain.o + +# framework/resolution/ +prd_obj += prdfDumpResolution.o + +# framework/service/ +prd_obj_no_sim += prdfPlatServices.o +prd_obj += prdfRasServices.o + +# mnfgtools/ +prd_obj += prdfMfgSync.o +prd_obj += prdfMfgThresholdFile.o + +# plat/pegasus/ (non-rule plugin related) +prd_obj += prdfCenMbaIplCeStats.o +prd_obj += prdfCenMbaTdCtlr.o +prd_obj += prdfDramRepairs.o +prd_obj += prdfPlatCalloutUtil.o +prd_obj += prdfPllUtils.o + +# plat/pegasus/ (rule plugin related) +prd_rule_plugin += prdfP8TodPlugins.o +prd_rule_plugin += prdfPlatCenMba.o +prd_rule_plugin += prdfPlatCenMemUtils.o +prd_rule_plugin += prdfPlatCenPll.o +prd_rule_plugin += prdfPlatP8Ex.o +prd_rule_plugin += prdfPlatP8Proc.o + +################################################################################ +# Hostboot only object files (IPL only) +################################################################################ + +ifneq (${HOSTBOOT_RUNTIME},1) + +# ./ +prd_obj += prdfMain_ipl.o + +endif + +################################################################################ +# Conditional compile flag to enable profiling of flyweight register and +# resolution object +################################################################################ + +ifeq ($(PRD_PROFILER),1) +CUSTOMFLAGS += -DFLYWEIGHT_PROFILING +endif + +################################################################################ +# Rule for generated MNFG threshold header file +################################################################################ + +MFG_THRES = prdfMfgThresholds +MFG_THRES_H = ${MFG_THRES}.H +MFG_THRES_PL = ${PRD_SRC_PATH}/common/mnfgtools/${MFG_THRES}.pl +MFG_THRES_LIST = ${PRD_SRC_PATH}/common/mnfgtools/${MFG_THRES}.lst +MFG_THRES_PATH = ${ROOTPATH}/obj/genfiles/${MFG_THRES_H} + +GENFILES += ${MFG_THRES_H} + +${MFG_THRES_PATH} : ${MFG_THRES_LIST} + ${MFG_THRES_PL} $^ > $@ + +EXTRA_CLEAN += ${MFG_THRES_PATH} + |