[PATCH i-g-t v5 0/2] tools: remove unnecessary shared library dependencies from standalone tools
Sebastian Brzezinka <[email protected]> Tue, 4 Aug 2026 12:29:47 +0200
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
This is the tail end of the "tools: remove unnecessary shared library dependencies from standalone tools" series. Patches 1-29 of v4 have already been merged; these are the 2 remaining patches, rebased on current main and resent as v5. igt_load_igtrc() is moved to igt_rc.c so lsgpu can use lib_igt_device_scan without pulling in libigt.so. v4 -> v5: - lib/igt_core: move igt_load_igtrc to igt_rc: add missing #include "igt_rc.h" to tools/lsgpu.c in this patch so lsgpu.c keeps compiling standalone (bisectability), instead of only fixing it in the next patch Sebastian Brzezinka (2): lib/igt_core: move igt_load_igtrc to igt_rc tools/lsgpu: link with minimal sub-libraries lib/igt_core.c | 47 ----------------------------------- lib/igt_core.h | 2 -- lib/igt_rc.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++ lib/igt_rc.h | 2 ++ lib/meson.build | 4 ++- runner/executor.c | 1 + tools/lsgpu.c | 3 ++- tools/meson.build | 7 +++++- 8 files changed, 76 insertions(+), 52 deletions(-) create mode 100644 lib/igt_rc.c -- 2.53.0