summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/makefile
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2013-01-25 17:21:05 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-02-16 00:22:26 -0600
commit6abba603d161e8ca70a2d0de0c0bffc82924f99e (patch)
treedad9215330c4759114fe41d248ebff303bb95695 /src/usr/diag/prdf/makefile
parent7c73f96c7e3f309210d58332dc7f3fc4012118ef (diff)
downloadblackbird-hostboot-6abba603d161e8ca70a2d0de0c0bffc82924f99e.tar.gz
blackbird-hostboot-6abba603d161e8ca70a2d0de0c0bffc82924f99e.zip
PRD: Refactor prdfPlatServices
The prdfPlatServices_common.[HC] files should only contain code that is common between FSP and Hostboot. The prdfTargetServices.[HC] files should only contain code specific to the common FSP/Hostboot targeting code. The FSP prdfPlatServices.[HC] and Hostboot prdfPlatServices.[HC] files will contain code that is specific to FSP or Hostboot, respectively. Only prdfPlatServices_common.H will include prdfTargetServices.H. Only the prdfPlatServices.H files will include prdfPlatServices_common.H. All user code should include the respective prdfPlatServices.H file. Change-Id: I6e723d6e6602194abfc24ee9c20c1949c393c0e2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3041 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3213
Diffstat (limited to 'src/usr/diag/prdf/makefile')
-rwxr-xr-xsrc/usr/diag/prdf/makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/usr/diag/prdf/makefile b/src/usr/diag/prdf/makefile
index e94273a46..7529925ea 100755
--- a/src/usr/diag/prdf/makefile
+++ b/src/usr/diag/prdf/makefile
@@ -45,6 +45,7 @@ VPATH = \
common/framework/rule \
framework \
framework/rule \
+ framework/service \
#FIXME: we can remove most of these as well if we have them include correctly
EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/fapi
@@ -67,27 +68,29 @@ EXTRAINCDIR += ${PRD_USR_PATH}/common/framework/config
EXTRAINCDIR += ${PRD_USR_PATH}/common/framework/rule
EXTRAINCDIR += ${PRD_USR_PATH}/common/plat
EXTRAINCDIR += ${PRD_USR_PATH}/common/plat/pegasus
-#conditionally enables profiling of flyweight register and resolution object
+EXTRAINCDIR += ${PRD_USR_PATH}/framework/service
+
+# Conditionally enables profiling of flyweight register and resolution object
ifeq ($(PRD_PROFILER),1)
CUSTOMFLAGS += -DFLYWEIGHT_PROFILING
endif
+
#------------------------------------------------------------------------------
# objects
#------------------------------------------------------------------------------
+
include common/prd_framework.mk
include common/prd_ruletable.mk
include common/prd_pegasus.mk
+include prdf_hb_only.mk
-OBJS = ${prd_framework} \
- ${prd_util} \
- ${prd_register} \
- ${prd_resolution} \
- ${prd_ruletable} \
- ${prd_service} \
- ${prd_env_service} \
- ${prd_config} \
- ${prd_pegasus_specific} ${prd_pegasus_specific_HB} \
- ${PRDF_RULE_PLUGINS_PEGASUS_WSIM} \
- ${PRDF_RULE_PLUGINS_PEGASUS}
+OBJS = \
+ ${prd_object_files} \
+ ${prd_object_files_no_sim} \
+ ${prd_ruletable} \
+ ${prd_pegasus_specific} \
+ ${prd_pegasus_specific_HB} \
+ ${PRDF_RULE_PLUGINS_PEGASUS} \
+ ${PRDF_RULE_PLUGINS_PEGASUS_WSIM} \
include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud