diff options
author | Eric Anholt <[email protected]> | 2018-06-27 10:46:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-29 13:36:28 -0700 |
commit | 6f7ad7ed11d92a302e309c3bc042cc76547cd2f7 (patch) | |
tree | a29dfbff969b056ac47e1f390a05bad831200f08 /src/broadcom/Makefile.genxml.am | |
parent | a99c9e63a07477634ab73945e5da5b9f580e5828 (diff) |
v3d: Pass the version being generated to the pack generator script.
It turns out that most V3D versions change very few packets, so keeping
separate copies of the XML per version makes changing the XML a pain as
you have to replicate your changes to each one. This is the start of
changing it so that one XML can generate headers for multiple versions.
Diffstat (limited to 'src/broadcom/Makefile.genxml.am')
-rw-r--r-- | src/broadcom/Makefile.genxml.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/Makefile.genxml.am b/src/broadcom/Makefile.genxml.am index 6cfabaebcb8..7949bf6f705 100644 --- a/src/broadcom/Makefile.genxml.am +++ b/src/broadcom/Makefile.genxml.am @@ -30,7 +30,7 @@ $(BROADCOM_GENXML_GENERATED_FILES): cle/gen_pack_header.py .xml_pack.h: $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/cle/gen_pack_header.py $< > $@ || ($(RM) $@; false) + $(PYTHON_GEN) $(srcdir)/cle/gen_pack_header.py $< `echo $@ | sed -r 's|.*_v([0-9][0-9])_pack.h|\1|g'` > $@ || ($(RM) $@; false) GEN_ZIPPED = $(srcdir)/../intel/genxml/gen_zipped_file.py cle/v3d_xml.h: $(GEN_ZIPPED) $(BROADCOM_GENXML_XML_FILES) |