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

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Sep 14 19:10:35 UTC 2017


On Wed, Sep 13, 2017 at 06:10:59PM -0700, Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>  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'))

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

I haven't yet figured out why meson installs something without
explicit guidance, and other things it leaves behind until you tell it
otherwise. This one didn't seem to need the manual prodding. Someone
care to clue me in on the rules?

> +
>  subdir('null_state_gen')
> -- 
> 2.14.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list