summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2017-09-13 18:10:59 -0700
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-15 16:05:22 +0300
commit93f72b23156589964b87bb9ca7c94c104976303c (patch)
treea39cc773d31e21ee10631ff9da75c898273ca1f7 /tools
parentc8d6c73d455a8b47cadc0ac13fb3fc90c1f0900c (diff)
meson: Process intel_aubdump.in into intel_aubdump
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/meson.build b/tools/meson.build
index 12b9c49c..1bacac58 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -89,4 +89,11 @@ shared_library('intel_aubdump', 'aubdump.c',
name_prefix : '',
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')