From: Lionel Landwerlin Date: Fri, 31 Mar 2017 10:05:42 +0000 (+0100) Subject: intel: genxml: fix out of tree builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74a80d579d2adc99c88a61a9d17387df8ae70460;p=mesa.git 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 Reviewed-by: Emil Velikov --- 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)