meson/megadriver: simplify setting common megadriver arguments
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32333>
(cherry picked from commit 6586f755b9
)
This commit is contained in:

committed by
Dylan Baker

parent
3d96958812
commit
7c57de1282
@@ -2724,7 +2724,7 @@
|
|||||||
"description": "meson/megadriver: simplify setting common megadriver arguments",
|
"description": "meson/megadriver: simplify setting common megadriver arguments",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null,
|
"because_sha": null,
|
||||||
"notes": null
|
"notes": null
|
||||||
|
@@ -11,3 +11,6 @@ gen_vs_module_defs_normal_command = [
|
|||||||
]
|
]
|
||||||
symbols_check = find_program('symbols-check.py')
|
symbols_check = find_program('symbols-check.py')
|
||||||
install_megadrivers_py = find_program('install_megadrivers.py')
|
install_megadrivers_py = find_program('install_megadrivers.py')
|
||||||
|
install_megadrivers = [
|
||||||
|
install_megadrivers_py.full_path(),
|
||||||
|
]
|
||||||
|
@@ -90,7 +90,7 @@ if with_gallium_va or with_gallium_vdpau
|
|||||||
|
|
||||||
if va_drivers.length() > 0
|
if va_drivers.length() > 0
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
install_megadrivers_py.full_path(),
|
install_megadrivers,
|
||||||
libgallium_dri.full_path(),
|
libgallium_dri.full_path(),
|
||||||
va_drivers_path,
|
va_drivers_path,
|
||||||
va_drivers,
|
va_drivers,
|
||||||
@@ -101,7 +101,7 @@ if with_gallium_va or with_gallium_vdpau
|
|||||||
|
|
||||||
if vdpau_drivers.length() > 0
|
if vdpau_drivers.length() > 0
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
install_megadrivers_py.full_path(),
|
install_megadrivers,
|
||||||
libgallium_dri.full_path(),
|
libgallium_dri.full_path(),
|
||||||
vdpau_drivers_path,
|
vdpau_drivers_path,
|
||||||
vdpau_drivers,
|
vdpau_drivers,
|
||||||
|
@@ -143,7 +143,7 @@ endif
|
|||||||
|
|
||||||
if dril_drivers.length() > 0
|
if dril_drivers.length() > 0
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
install_megadrivers_py.full_path(),
|
install_megadrivers,
|
||||||
dril_dri.full_path(),
|
dril_dri.full_path(),
|
||||||
dri_drivers_path,
|
dri_drivers_path,
|
||||||
dril_drivers,
|
dril_drivers,
|
||||||
|
@@ -99,7 +99,7 @@ else
|
|||||||
|
|
||||||
if va_drivers.length() > 0
|
if va_drivers.length() > 0
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
install_megadrivers_py.full_path(),
|
install_megadrivers,
|
||||||
libva_gallium.full_path(),
|
libva_gallium.full_path(),
|
||||||
va_drivers_path,
|
va_drivers_path,
|
||||||
va_drivers,
|
va_drivers,
|
||||||
|
@@ -61,7 +61,7 @@ endforeach
|
|||||||
|
|
||||||
if vdpau_drivers.length() > 0
|
if vdpau_drivers.length() > 0
|
||||||
meson.add_install_script(
|
meson.add_install_script(
|
||||||
install_megadrivers_py.full_path(),
|
install_megadrivers,
|
||||||
libvdpau_gallium.full_path(),
|
libvdpau_gallium.full_path(),
|
||||||
vdpau_drivers_path,
|
vdpau_drivers_path,
|
||||||
vdpau_drivers,
|
vdpau_drivers,
|
||||||
|
Reference in New Issue
Block a user