[PATCH i-g-t 04/12] meson: Build and install intel_reg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 tools/meson.build | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/meson.build b/tools/meson.build
index 3b6d6376d2d6..9d08a0d1f986 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -55,6 +55,16 @@ foreach prog : tools_progs
 		   install : true)
 endforeach
 
+pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), 'intel-gpu-tools')
+
+intel_reg_src = [ 'intel_reg.c', 'intel_reg_decode.c', 'intel_reg_spec.c' ]
+executable('intel_reg', sources : intel_reg_src,
+           dependencies : tool_deps,
+	   install : true,
+           c_args : [
+	     '-DIGT_DATADIR="@0@"'.format(pkgdatadir),
+	   ])
+
 shared_library('intel_aubdump', 'aubdump.c', dependencies : [ igt_deps, dlsym ])
 
 subdir('null_state_gen')
-- 
2.13.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux