[PATCH i-g-t 6/6] meson: Add sharpness tool

Swati Sharma swati2.sharma at intel.com
Mon Sep 23 07:10:23 UTC 2024


From: Naladala Ramanaidu <ramanaidu.naladala at intel.com>

Make changes in tools/meson.build to build sharpness tool.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 tools/meson.build | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/meson.build b/tools/meson.build
index df26c4b95..2128c605f 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -66,6 +66,17 @@ if libudev.found()
 		   install : true)
 endif
 
+executable('intel_sharpness_tool', 'intel_sharpness_tool.c',
+           dependencies : tool_deps,
+           c_args : [
+	      '-DIGT_DATADIR="@0@"'.format(join_paths(prefix, datadir)),
+	      '-DIGT_SRCDIR="@0@"'.format(srcdir),
+	      '-DIGT_IMGDIR="@0@"'.format(imgdir),
+	      '-DIGT_LOG_DOMAIN="@0@"'.format(f.split('.')[0])
+            ],
+          install_rpath : bindir_rpathdir,
+          install : true)
+
 executable('gputop', 'gputop.c',
            install : true,
            install_rpath : bindir_rpathdir,
-- 
2.25.1



More information about the igt-dev mailing list