mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
meson: simplify install_megadrivers.py invocation
Note: `find_program()` needs a shebang on scripts. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
ff3a2576a4
commit
dcba7731e6
7 changed files with 8 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
# encoding=utf-8
|
# encoding=utf-8
|
||||||
# Copyright © 2017-2018 Intel Corporation
|
# Copyright 2017-2018 Intel Corporation
|
||||||
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
||||||
|
|
@ -20,3 +20,4 @@
|
||||||
|
|
||||||
git_sha1_gen_py = files('git_sha1_gen.py')
|
git_sha1_gen_py = files('git_sha1_gen.py')
|
||||||
symbols_check = find_program('symbols-check.py')
|
symbols_check = find_program('symbols-check.py')
|
||||||
|
install_megadrivers_py = find_program('install_megadrivers.py')
|
||||||
|
|
|
||||||
|
|
@ -110,8 +110,7 @@ foreach d : [[with_gallium_kmsro, [
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
prog_python.path(),
|
install_megadrivers_py.path(),
|
||||||
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
|
|
||||||
libgallium_dri.full_path(),
|
libgallium_dri.full_path(),
|
||||||
dri_drivers_path,
|
dri_drivers_path,
|
||||||
gallium_dri_drivers,
|
gallium_dri_drivers,
|
||||||
|
|
|
||||||
|
|
@ -65,8 +65,7 @@ foreach d : [[with_gallium_r600, 'r600'],
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
prog_python.path(),
|
install_megadrivers_py.path(),
|
||||||
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
|
|
||||||
libva_gallium.full_path(),
|
libva_gallium.full_path(),
|
||||||
va_drivers_path,
|
va_drivers_path,
|
||||||
va_drivers,
|
va_drivers,
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,7 @@ foreach d : [[with_gallium_r300, 'r300'],
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
prog_python.path(),
|
install_megadrivers_py.path(),
|
||||||
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
|
|
||||||
libvdpau_gallium.full_path(),
|
libvdpau_gallium.full_path(),
|
||||||
vdpau_drivers_path,
|
vdpau_drivers_path,
|
||||||
vdpau_drivers,
|
vdpau_drivers,
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,7 @@ foreach d : [[with_gallium_r600, 'r600'], [with_gallium_nouveau, 'nouveau']]
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
prog_python.path(),
|
install_megadrivers_py.path(),
|
||||||
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
|
|
||||||
libxvmc_gallium.full_path(),
|
libxvmc_gallium.full_path(),
|
||||||
xvmc_drivers_path,
|
xvmc_drivers_path,
|
||||||
xvmc_drivers,
|
xvmc_drivers,
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,7 @@ if _dri_drivers != []
|
||||||
)
|
)
|
||||||
|
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
prog_python.path(),
|
install_megadrivers_py.path(),
|
||||||
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
|
|
||||||
libmesa_dri_drivers.full_path(),
|
libmesa_dri_drivers.full_path(),
|
||||||
dri_drivers_path,
|
dri_drivers_path,
|
||||||
_dri_link,
|
_dri_link,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue