Re: [PATCH i-g-t v3 26/31] tools/intel_panel_fitter: link with minimal sub-libraries
Krzysztof Karas <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <xfvjvnuvdb4hqi3gduqoy3oq75tp6gjpzkjh7vf4uzqytltjiz@poogergbubu6> |
Hi Sebastian, On 2026-07-15 at 14:15:36 +0200, Sebastian Brzezinka wrote: > intel_panel_fitter 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 a31b6d0ed..1a4e14ed3 100644 > --- a/tools/meson.build > +++ b/tools/meson.build > @@ -21,7 +21,6 @@ tools_progs = [ > 'intel_framebuffer_dump', > 'intel_hdcp', > 'intel_opregion_decode', > - 'intel_panel_fitter', > 'intel_perf_counters', > 'intel_pm_rpm', > 'intel_reg_checker', > @@ -120,6 +119,11 @@ executable('intel_infoframes', 'intel_infoframes.c', > install_rpath : bindir_rpathdir, > install : true) > > +executable('intel_panel_fitter', 'intel_panel_fitter.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