summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.genxml.am
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-03-31 11:05:42 +0100
committerLionel Landwerlin <[email protected]>2017-03-31 15:29:57 +0100
commit74a80d579d2adc99c88a61a9d17387df8ae70460 (patch)
tree4c848062a9b193fe145740bf4a2a03bdd647a569 /src/intel/Makefile.genxml.am
parent18e2aa063ca8e2aeb22a72253891e6f8f5d0d96b (diff)
intel: genxml: fix out of tree builds
v2: use Emil's recommendation change rule to closer to genxml/genX_bits.h Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel/Makefile.genxml.am')
-rw-r--r--src/intel/Makefile.genxml.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index 05a12f8f77d..e34536d37c7 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -34,9 +34,9 @@ $(GENXML_GENERATED_PACK_FILES): genxml/gen_pack_header.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/genxml/gen_pack_header.py $< > $@ || ($(RM) $@; false)
-genxml/genX_xml.h: $(GENXML_XML_FILES) genxml/gen_zipped_file.py
+genxml/genX_xml.h: genxml/gen_zipped_file.py $(GENXML_XML_FILES)
$(MKDIR_GEN)
- $(AM_V_GEN) $(PYTHON2) $(srcdir)/genxml/gen_zipped_file.py $(GENXML_XML_FILES) > $@ || ($(RM) $@; false)
+ $(PYTHON_GEN) $< $(GENXML_XML_FILES:%=$(srcdir)/%) > $@ || ($(RM) $@; false)
genxml/genX_bits.h: genxml/gen_bits_header.py $(GENXML_XML_FILES)
$(MKDIR_GEN)