summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/fapi2.mk
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2015-12-14 16:38:05 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-03-30 14:45:08 -0400
commit550f30129f455317e65610cd90e9d06b2018e4c1 (patch)
tree04e21e3516a03954d06926dc8e15aaa899939327 /src/usr/fapi2/fapi2.mk
parent10b4a480645ebe9ac9bf612afc1c0f1dd4309cdb (diff)
downloadtalos-hostboot-550f30129f455317e65610cd90e9d06b2018e4c1.tar.gz
talos-hostboot-550f30129f455317e65610cd90e9d06b2018e4c1.zip
Method to support initial temporary defaults for attributes
Supply temporary HB defaults and attribute definitions. Create temporary HB attribute definitions from new FAPI ones. Add attributes to a target based on FAPI targetType. Change-Id: I41d5fe0ef1d51d25975ec18a50bd125837f77995 RTC:131375 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/1016 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/fapi2.mk')
-rwxr-xr-xsrc/usr/fapi2/fapi2.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/fapi2/fapi2.mk b/src/usr/fapi2/fapi2.mk
index 7d1bcb40e..db3bc2484 100755
--- a/src/usr/fapi2/fapi2.mk
+++ b/src/usr/fapi2/fapi2.mk
@@ -67,6 +67,14 @@ FAPI2_ATTR_XML += $(wildcard \
FAPI2_ATTR_XML += $(wildcard \
$(ROOTPATH)/src/import/chips/p9/procedures/xml/attribute_info/*.xml)
+# Filter out Temp defaults XML file from Attribute XML files.
+# NOTE: The hb_temp_defaults.xml file is not a normal attribute file with the
+# normal structures that define the attribute itself. It temporarily
+# provides default values for new attributes defined in other files.
+HB_TEMP_DFLT_XML = $(wildcard \
+ ${ROOTPATH}/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml)
+FAPI2_ATTR_XML := $(filter-out ${HB_TEMP_DFLT_XML},$(FAPI2_ATTR_XML))
+
# Chip SCOM address header files.
FAPI2_PLAT_INCLUDE += $(addsuffix /common/include, \
$(addprefix $(ROOTPATH)/src/import/chips/$CHIPS))
OpenPOWER on IntegriCloud