summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb
diff options
context:
space:
mode:
authorElizabeth Liner <eliner@us.ibm.com>2016-09-09 11:12:06 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-26 17:15:00 -0400
commita2c4ff00033939dd3168e8e6472d13d81c0742a6 (patch)
tree6715a51409912178694fc686214be9e03a9d6d64 /src/usr/targeting/xmltohb
parent9b2a0194995ebfdd070cf5facb0743fb08fdc38e (diff)
downloadtalos-hostboot-a2c4ff00033939dd3168e8e6472d13d81c0742a6.tar.gz
talos-hostboot-a2c4ff00033939dd3168e8e6472d13d81c0742a6.zip
Adding support for an openpower only attribute file
Change-Id: I7d4009e2cdcb6e019c033b827086f3e14c291a6f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/xmltohb')
-rw-r--r--src/usr/targeting/xmltohb/makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/usr/targeting/xmltohb/makefile b/src/usr/targeting/xmltohb/makefile
index bea46f4c9..feeb9c20b 100644
--- a/src/usr/targeting/xmltohb/makefile
+++ b/src/usr/targeting/xmltohb/makefile
@@ -77,26 +77,33 @@ XMLTOHB_COMMON_TARGET_SOURCES = target_types.xml
XMLTOHB_HB_ATTRIBUTE_SOURCES = attribute_types_hb.xml
XMLTOHB_HB_TARGET_SOURCES = target_types_hb.xml
+# attribute files that are only included in power vm build.
+XMLTOHB_OPPOWERVM_ATTRIBUTE_SOURCES = attribute_types_oppowervm.xml
+XMLTOHB_OPPOWERVM_TARGET_SOURCES = target_types_oppowervm.xml
+
# attribute files that are only included in openpower build.
-XMLTOHB_OPENPOWER_ATTRIBUTE_SOURCES = attribute_types_oppowervm.xml
-XMLTOHB_OPENPOWER_TARGET_SOURCES = target_types_oppowervm.xml
+XMLTOHB_OPENPOWER_ATTRIBUTE_SOURCES = attribute_types_openpower.xml
+XMLTOHB_OPENPOWER_TARGET_SOURCES = target_types_openpower.xml
XMLTOHB_MERGED_COMMON_TARGET_SOURCES = target_types_merged.xml
# The customize target file combines all targetTypeExtension files before
# combining them with the common target_types.xml file. To include a new file,
-# just add it to the XMLTOHB_TARGET_SOURCES
+# just add it to the XMLTOHB_TARGET_SOURCES.
XMLTOHB_CUSTOMIZE_TARGET_SOURCES = target_types_customize.xml
-XMLTOHB_TARGET_SOURCES += target_types_hb.xml
-XMLTOHB_TARGET_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPENPOWER), target_types_oppowervm.xml)
+XMLTOHB_TARGET_SOURCES += ${XMLTOHB_HB_TARGET_SOURCES}
+XMLTOHB_TARGET_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPPOWERVM),${XMLTOHB_OPPOWERVM_TARGET_SOURCES})
+XMLTOHB_TARGET_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPENPOWER),${XMLTOHB_OPENPOWER_TARGET_SOURCES})
#Define XMLTOHB_GENERIC_SOURCES
XMLTOHB_GENERIC_SOURCES += ${XMLTOHB_COMMON_ATTRIBUTE_SOURCES}
XMLTOHB_GENERIC_SOURCES += ${XMLTOHB_HB_ATTRIBUTE_SOURCES}
+XMLTOHB_GENERIC_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPPOWERVM),${XMLTOHB_OPPOWERVM_ATTRIBUTE_SOURCES})
XMLTOHB_GENERIC_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPENPOWER),${XMLTOHB_OPENPOWER_ATTRIBUTE_SOURCES})
XMLTOHB_GENERIC_SOURCES += ${GENDIR}/${XMLTOHB_MERGED_COMMON_TARGET_SOURCES}
XMLTOHB_GENERIC_SOURCES += ${XMLTOHB_HB_TARGET_SOURCES}
+XMLTOHB_GENERIC_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPPOWERVM),${XMLTOHB_OPPOWERVM_TARGET_SOURCES})
XMLTOHB_GENERIC_SOURCES += $(if $(CONFIG_INCLUDE_XML_OPENPOWER),${XMLTOHB_OPENPOWER_TARGET_SOURCES})
TEMP_DEFAULT_SOURCES = tempdefaults.xml
OpenPOWER on IntegriCloud