[Mesa-dev] [PATCH v2 2/5] intel: Move tools/decoder.[ch] to common/gen_decoder.[ch].

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 21 11:14:43 UTC 2017


On 20 March 2017 at 22:04, Kenneth Graunke <kenneth at whitecape.org> wrote:
> This way they become part of libintel_common.la so I can use them in
> the i965 driver.
> ---
>  src/intel/Makefile.sources                          | 2 ++
>  src/intel/Makefile.tools.am                         | 2 --
>  src/intel/{tools/decoder.c => common/gen_decoder.c} | 2 +-
>  src/intel/{tools/decoder.h => common/gen_decoder.h} | 6 +++---
>  src/intel/tools/aubinator.c                         | 2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)
>  rename src/intel/{tools/decoder.c => common/gen_decoder.c} (99%)
>  rename src/intel/{tools/decoder.h => common/gen_decoder.h} (98%)
>
> I'd forgotten than I still had my gross symlinking hack in the first
> version of this series.  Here's a new spin which does this "properly" :)
>
You can do the symlink if you want to - I don't mind. This approach
will "bloat" every binary that links with libintel_common, since we
don't ask the linker to garbage collect.
Admittedly we only care about the ANV case, so I'll just follow-up and
add the GC toggle ;-)

Thanks
Emil


More information about the mesa-dev mailing list