[PATCH 5/6] meson: Process intel_aubdump.in into intel_aubdump

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

 



Signed-off-by: Jordan Justen <jordan.l.justen@xxxxxxxxx>
---
 tools/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/meson.build b/tools/meson.build
index 91c58760..20b63cce 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -57,4 +57,11 @@ endforeach
 shared_library('intel_aubdump', 'aubdump.c',
                dependencies : [ igt_deps, dlsym ], install : true)
 
+conf_data = configuration_data()
+conf_data.set('prefix', get_option('prefix'))
+conf_data.set('exec_prefix', '${prefix}')
+conf_data.set('libdir', join_paths('${prefix}', get_option('libdir')))
+configure_file(input : 'intel_aubdump.in', output : 'intel_aubdump',
+               configuration : conf_data, install_dir : get_option('bindir'))
+
 subdir('null_state_gen')
-- 
2.14.1

_______________________________________________
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