summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb/makefile
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-03-01 15:56:06 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-03-04 10:23:16 -0600
commit8120637090fc25a251be5e38751c679789d15f7f (patch)
treed1445b4480af90af3d986651beb0199c1896a2e4 /src/usr/targeting/xmltohb/makefile
parent77081c88cb1356c5226cd34e6022b8a268ba46fe (diff)
downloadtalos-hostboot-8120637090fc25a251be5e38751c679789d15f7f.tar.gz
talos-hostboot-8120637090fc25a251be5e38751c679789d15f7f.zip
Another fix for parallel invocations of xmltohb.
Change-Id: Icd64cf252c89c731d4492b5a95cb3f6907f49c6a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3400 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/xmltohb/makefile')
-rw-r--r--src/usr/targeting/xmltohb/makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/targeting/xmltohb/makefile b/src/usr/targeting/xmltohb/makefile
index 678f24bdf..1ec27aab2 100644
--- a/src/usr/targeting/xmltohb/makefile
+++ b/src/usr/targeting/xmltohb/makefile
@@ -123,12 +123,13 @@ ${GENDIR}/${XMLTOHB_FAPI_XML}: ${XMLTOHB_MERGE_SCRIPT} \
$< $^ > $@
# create the header files, only needs generic xml
-$(call GENTARGET,$(XMLTOHB_TARGETS)) : \
- ${XMLTOHB_COMPILER_SCRIPT} ${GENDIR}/${XMLTOHB_GENERIC_XML} \
- ${GENDIR}/${XMLTOHB_FAPI_XML}
+$(call GENTARGET,$(XMLTOHB_TARGETS)) : call_xmltohb_compiler
+.PHONY: call_xmltohb_compiler
+call_xmltohb_compiler: ${XMLTOHB_COMPILER_SCRIPT} \
+ ${GENDIR}/${XMLTOHB_GENERIC_XML} ${GENDIR}/${XMLTOHB_FAPI_XML}
$< $(addprefix --hb-xml-file=,${GENDIR}/${XMLTOHB_GENERIC_XML}) \
$(addprefix --fapi-attributes-xml-file=,${GENDIR}/${XMLTOHB_FAPI_XML}) \
- --src-output-dir=$(dir $@) --img-output-dir=none \
+ --src-output-dir=$(GENDIR) --img-output-dir=none \
--img-output-file=none
cp ${GENDIR}/errludattribute.H ${GENDIR_PLUGINS}
OpenPOWER on IntegriCloud