[Mesa-dev] [PATCH v3 3/5] intel: aubinator: generate a standalone binary

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Oct 5 16:54:55 UTC 2016


On 05/10/16 17:07, Jason Ekstrand wrote:
>
>
>     +$(builddir)/%_aubinator_xml.h:  $(srcdir)/../genxml/%.xml Makefile
>     +       $(MKDIR_GEN)
>     +       $(AM_V_GEN) echo -n "static const uint8_t " > $@; \
>     +       echo -n `basename $@` | sed -e 's,_aubinator_xml.h,,' >> $@; \
>     +       echo "_xml[] = {" >> $@; \
>     +       cat $< | $(XXD) -i >> $@; \
>     +       echo "};" >> $@
>
>
> I talked to Sirisha a bit yesterday and she wasn't terribly happy with 
> the way this "dirtied" things.  I *think* what she didn't like was the 
> piles of autogenerated files it dumps in the tools directory.  
> Sirisha, please correct me if I'm misunderstanding you.
>
> One option would be to generate them in the genxml directory as 
> genN_xml.h.  We already have genN_pack.h, so it's no big deal to dump 
> more there.  Another option would be to add a genxml_include directory 
> to tools/ and dump them there to get them out of the way.
>
> Personally, I don't think it's a big deal, but I'm also ok with trying 
> to keep things clean.

Ok, I'll move that to genxml/ if Sirisha is alright with that.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161005/bcd378ce/attachment.html>


More information about the mesa-dev mailing list