[igt-dev] [PATCH i-g-t v4 10/11] tools/meson: Move tools out of libdrm scope

Zbigniew Kempczyński
2022-12-06T07:47:44Z

Libdrm was removed from intel tools so lets remove libdrm configuration
and migrate tools to normal tools list.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
---
tools/meson.build | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/tools/meson.build b/tools/meson.build
index 24d0ea7140..d2defec870 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -18,9 +18,12 @@ tools_progs = [
'intel_bios_dumper',
'intel_display_crc',
'intel_display_poller',
+ 'intel_dump_decode',
+ 'intel_error_decode',
'intel_forcewaked',
'intel_gpu_frequency',
'intel_firmware_decode',
+ 'intel_framebuffer_dump',
'intel_gpu_time',
'intel_gtt',
'intel_guc_logger',
@@ -28,6 +31,7 @@ tools_progs = [
'intel_lid',
'intel_opregion_decode',
'intel_panel_fitter',
+ 'intel_perf_counters',
'intel_pm_rpm',
'intel_reg_checker',
'intel_residency',
@@ -40,16 +44,7 @@ tools_progs = [
'lsgpu',
]
tool_deps = igt_deps
-
-if libdrm_intel.found()
- tools_progs += [
- 'intel_dump_decode',
- 'intel_error_decode',
- 'intel_framebuffer_dump',
- 'intel_perf_counters',
- ]
- tool_deps += zlib
-endif
+tool_deps += zlib

foreach prog : tools_progs
executable(prog, prog + '.c',
--
2.34.1