Re: [PATCH i-g-t v3 16/31] tools/intel_dump_decode: link with minimal sub-libraries
Krzysztof Karas <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <i76nbapinkwalnjycvoc3lr6wheeypgfwwye6hkwuvlmm2z27i@kt6j2x72tewt> |
Hi, On 2026-07-15 at 14:15:26 +0200, Sebastian Brzezinka wrote: > intel_dump_decode only needs the i915 decoder. Link it against > lib_i915_decode instead of the full libigt.so stack. > > ldd before: 35 (ldd | wc -l) > ldd after: 4 (ldd | wc -l) > > Signed-off-by: Sebastian Brzezinka <[email protected]> > Acked-by: Ashutosh Dixit <[email protected]> > Reviewed-by: Krzysztof Niemiec <[email protected]> > --- > tools/meson.build | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/tools/meson.build b/tools/meson.build > index a3fef87a9..467b8eea1 100644 > --- a/tools/meson.build > +++ b/tools/meson.build > @@ -20,7 +20,6 @@ tools_progs = [ > 'intel_display_bandwidth', > 'intel_display_crc', > 'intel_display_poller', > - 'intel_dump_decode', > 'intel_error_decode', > 'intel_forcewaked', > 'intel_framebuffer_dump', > @@ -80,6 +79,11 @@ executable('intel_gtt', 'intel_gtt.c', > install_rpath : bindir_rpathdir, > install : true) > > +executable('intel_dump_decode', 'intel_dump_decode.c', > + dependencies : [lib_i915_decode], > + install_rpath : bindir_rpathdir, > + install : true) > + > if libudev.found() > intel_dp_compliance_src = [ > 'intel_dp_compliance.c', > -- > 2.53.0 > Reviewed-by: Krzysztof Karas <[email protected]> -- Best Regards, Krzysztof