From 02c8819d46b66992af84d71244d6b41eefbef90a Mon Sep 17 00:00:00 2001 From: Elizabeth Liner Date: Thu, 10 Aug 2017 23:50:34 -0500 Subject: Adding support for MEMD processing This commit adds in the call to the perl script housed in the hostboot build files. It generates the MEMD header from the directory of files given, compiles them into one file and returns the output where it can be added to the PNOR. --- openpower/package/machine-xml/machine-xml.mk | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'openpower/package/machine-xml/machine-xml.mk') diff --git a/openpower/package/machine-xml/machine-xml.mk b/openpower/package/machine-xml/machine-xml.mk index 91febce9..af68f47d 100644 --- a/openpower/package/machine-xml/machine-xml.mk +++ b/openpower/package/machine-xml/machine-xml.mk @@ -98,12 +98,19 @@ define MACHINE_XML_BUILD_CMDS if [ -e $(MRW_HB_TOOLS)/wof-tables-img ]; then \ chmod +x $(MRW_HB_TOOLS)/wof-tables-img; \ fi - - if [ -d $(MRW_SCRATCH)/wofdata ]; then \ - $(MRW_HB_TOOLS)/wof-tables-img --create $(MRW_SCRATCH)/wof_output $(MRW_SCRATCH)/wofdata; \ + + if [ -d $(MRW_SCRATCH)/wofdata ]; then \ + $(MRW_HB_TOOLS)/wof-tables-img --create $(MRW_SCRATCH)/wof_output $(MRW_SCRATCH)/wofdata; \ fi + # Create the MEMD binary + if [ -e $(MRW_HB_TOOLS)/memd_creation.pl ]; then \ + chmod +x $(MRW_HB_TOOLS)/memd_creation.pl; \ + fi + if [ -d $(MRW_SCRATCH)/memd_binaries ]; then \ + $(MRW_HB_TOOLS)/memd_creation.pl -memd_dir $(MRW_SCRATCH)/memd_binaries -memd_output $(MRW_SCRATCH)/memd_output.dat; \ + fi endef -- cgit v1.2.1