summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/fapi2.mk
diff options
context:
space:
mode:
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