Re: [PATCH i-g-t v3 25/31] tools/intel_infoframes: link with minimal sub-libraries
Krzysztof Karas <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <futjfwcfzzwh6qea6k7abnj6berja74idpmxxqar4pn2gwsmb2@lqcyslqcxkpi> |
Hi, On 2026-07-15 at 14:15:35 +0200, Sebastian Brzezinka wrote: > intel_infoframes only needs the register/MMIO helper subset, not the > full libigt.so stack. > > Switch to linking against lib_igt_reg_tools. > > ldd before: 35 (ldd | wc -l) > ldd after: 5 (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 32a345e9d..a31b6d0ed 100644 > --- a/tools/meson.build > +++ b/tools/meson.build > @@ -20,7 +20,6 @@ tools_progs = [ > 'intel_display_poller', > 'intel_framebuffer_dump', > 'intel_hdcp', > - 'intel_infoframes', > 'intel_opregion_decode', > 'intel_panel_fitter', > 'intel_perf_counters', > @@ -116,6 +115,11 @@ executable('intel_guc_logger', 'intel_guc_logger.c', > install_rpath : bindir_rpathdir, > install : true) > > +executable('intel_infoframes', 'intel_infoframes.c', > + dependencies : [lib_igt_reg_tools, pciaccess, libdrm], > + 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