diff options
author | Elizabeth Liner <eliner@us.ibm.com> | 2017-08-10 23:50:34 -0500 |
---|---|---|
committer | Elizabeth Liner <eliner@us.ibm.com> | 2017-08-10 23:51:04 -0500 |
commit | 02c8819d46b66992af84d71244d6b41eefbef90a (patch) | |
tree | fda2a63e9ee6baafaca923c9d15e97b78b931c1f /openpower/package/machine-xml | |
parent | 51876aff82e7873dcbf349c71190a7b9a1f102c8 (diff) | |
download | talos-op-build-02c8819d46b66992af84d71244d6b41eefbef90a.tar.gz talos-op-build-02c8819d46b66992af84d71244d6b41eefbef90a.zip |
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.
Diffstat (limited to 'openpower/package/machine-xml')
-rw-r--r-- | openpower/package/machine-xml/machine-xml.mk | 13 |
1 files changed, 10 insertions, 3 deletions
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 |